Python Forum
How to expand and collapse individual parts of the code in Atom
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to expand and collapse individual parts of the code in Atom
#1
Hello,
I would like to have a better overview in my long code. I know it from Stata that you can create individual sections that you can then expand and collapse. Is this also possible in Atom?
My idea would be to have different sections in my code that I can then collapse and quickly find the place in the code that I am looking for.

Many thanks in advance
Lora
Reply
#2
There are little arrows on the left side next to the line numbers. you can collapse and expand classes and functions
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply
#3
Thank you very much. But I was looking for something else. Not just collapsing functions, but larger pieces of code, including comments and different parts that you "merge" into one section.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Missing parts of Code Felipe1991_GVT 3 312 Mar-22-2024, 05:58 PM
Last Post: deanhystad
  Expand the range of a NumPy array? PythonNPC 0 757 Jan-31-2023, 02:41 AM
Last Post: PythonNPC
  Folding in ATOM XavierPlatinum 5 1,241 Sep-11-2022, 09:21 PM
Last Post: XavierPlatinum
  read individual nodes from an xml url using pandas mattkaplan27 5 2,957 Jul-05-2020, 10:06 PM
Last Post: snippsat
  Question re: running code in Editor (i.e. Atom) vs Python interpreter rok 3 2,442 Jun-29-2020, 09:20 PM
Last Post: bowlofred
  Having a hard time combining two parts of code. Coozeki 6 3,103 May-10-2020, 06:50 AM
Last Post: Coozeki
  #'ing out several lines in Atom Mark17 2 1,890 Oct-24-2019, 03:10 PM
Last Post: Mark17
  Loop files - Extract List Data To Individual Columns in CSV dj99 5 3,295 May-19-2019, 10:29 AM
Last Post: dj99
  Slicing Python list of strings into individual characters Drone4four 5 3,537 Apr-17-2019, 07:22 AM
Last Post: perfringo
  Atom editor issue with python 3 johnmick 2 2,910 Jan-25-2019, 10:17 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020