Comments (6)
Does this mean that all the project files need to be parsed ?
from zerobranestudio.
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.
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.
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.
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.
This has been covered by todo and todoall packages.
from zerobranestudio.
Related Issues (20)
- remote console multi variables access bug HOT 2
- How using keys switch focus to output console and to the editor window? HOT 2
- analyzer is not updated, when project is changed HOT 9
- [Request] Teal Support HOT 15
- staticanalyzer.luacheck options ignores option exclude_files HOT 1
- Build a release version of ZeroBraneStudio using wxLua/wxWidgets 3.2 HOT 5
- F-Req: msys2 install package for zerobrane
- ARM support on Linux? HOT 6
- Build broken because of scintillua HOT 2
- Flatpak patches
- table.move, string.pack, string.unpack are not syntax colored correctly... HOT 1
- Highlighted button background color barely visible on white theme
- Search - Find in files. wxLua Runtime Error when specify file path HOT 2
- Studio .app crashes on M1, Sonoma beta HOT 17
- Live coding in Love2D broken HOT 7
- The search box should accept Ctrl+A to select all text... HOT 1
- Windows: ZeroBrane built-in lua interpreters perform unavoidable command line file globbing HOT 4
- Plugin Settings HOT 3
- ide:ExecuteCommand() weirdness HOT 4
- Zerobrane crash when renaming a file to a name that already exists HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zerobranestudio.