GithubHelp home page GithubHelp logo

Comments (6)

petsagouris avatar petsagouris commented on May 19, 2024

Does this mean that all the project files need to be parsed ?

from zerobranestudio.

pkulchenko avatar pkulchenko commented on May 19, 2024

Not necessarily. I was thinking about showing the list from the current file. Not sure whether to update it if you switch between files (probably not).

Also, I think I'll make it more generic than just TODO. You can select any text and then select "Add filter" (or something like that) and the tab will show all the lines from the current file that include that text. This way you can specify what text you may want to search for. When you move the cursor in that tab, the position in the file is also updated, so you can use it for fast navigation between your TODO lines.

from zerobranestudio.

Tieske avatar Tieske commented on May 19, 2024

If you set the scope to the 'open' files, you need to parse them once (when opening), and only the active one after modifications. That would be a nice compromise I think.
The more flexible approach; using a filter, sounds good. Allows to search all references of definitions and usage of methods/objects/identifiers etc.
In general, it should list the filename (only if it handles more than 1 file, obviously useless otherwise), linenumber, and the line itself. Sorted by filename -> linenumber.

from zerobranestudio.

pkulchenko avatar pkulchenko commented on May 19, 2024

The IDE may already have something very similar to what you are describing: if you go to Search | Find in Files and type in "TODO", you will get a list of files with that string, including the line number and the line itself. If you double click on that line, the cursor will be positioned on that line in the file.

I was thinking about something a bit more dynamic that will reflect the changes you may be making in the file(s), but if what's there is going to work for you, please let me know.

from zerobranestudio.

Tieske avatar Tieske commented on May 19, 2024

Its indeed the more dynamic approach, I use this feature in Visual Studio a lot. I usually setup structures and as it continues fill in more and more details, every thing uncertain, or chekcs and balances left open are marked with todo. This allows make to rest assured that nothing gets lost while working at it.

from zerobranestudio.

pkulchenko avatar pkulchenko commented on May 19, 2024

This has been covered by todo and todoall packages.

from zerobranestudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.