Comments (4)
That is a good start for performance.
I would also propose an additional option to enable/disable the workspace scan on startup.
Maybe a command to perform the scan would be more useful.
A word about performance, i don't know how the scan is performed, but looks like vscode is actually opening all the files, and setting the CPU on 100% leaving the machine almost unusable for a minute or more. The problem with opening files is that other extensions like phpinteliphense and linting perform their actions as well.
There are another extension called todo+ that has a command to parse all todo's (fixme, readme, etc) in the whole project, and has the result in mere seconds without opening a single file, or at least, vscode dont perform opening operations.
I don't want to hijack an issue, if you @macjuul think that those comments should be a new issue, just move it or tell me.
from vscode-comment-anchors.
Ah yes, I unfortunately did not notice that because VS Code was already excluding node_modules from my project, I'll make a quick hotfix and release it today.
Thanks for your issue!
from vscode-comment-anchors.
Just one more thing: please correct "matchFiles" in README.md
, which should be "excludeFiles" instead.
from vscode-comment-anchors.
That is a good start for performance.
I would also propose an additional option to enable/disable the workspace scan on startup.
Maybe a command to perform the scan would be more useful.A word about performance, i don't know how the scan is performed, but looks like vscode is actually opening all the files, and setting the CPU on 100% leaving the machine almost unusable for a minute or more. The problem with opening files is that other extensions like phpinteliphense and linting perform their actions as well.
There are another extension called todo+ that has a command to parse all todo's (fixme, readme, etc) in the whole project, and has the result in mere seconds without opening a single file, or at least, vscode dont perform opening operations.
I don't want to hijack an issue, if you @macjuul think that those comments should be a new issue, just move it or tell me.
I'm currently working on a fix that changes the way files are loaded and scanned, which should solve that. I'll also implement a setting to disable workspace anchors for those who aren't interested in it.
Just one more thing: please correct "matchFiles" in
README.md
, which should be "excludeFiles" instead.
Woops, will fix!
from vscode-comment-anchors.
Related Issues (20)
- Is it a bug if section is not collapsible? HOT 2
- What does "enabled - Allows the disabling of default (and custom) tags" do?
- New feature suggestion
- Individual ruler option HOT 1
- Probleme mit der SECTION mit Alt + PageUp/PageDown
- Trying to add the Anchor Comments to User Snippets in VSCode 1.81.1
- [Improvement] Navigation with ALT+PageUp/PageDown, dont set cursor at the end of a comment
- IntelliSense support display language specific anchor types
- Allow Epics To Be Used In File Anchors Section
- [FR] Option to toggle / disable mouse hover preview HOT 1
- Suggestion Regarding `matchFiles` HOT 2
- [Color] Can't change default keyword gutter icon color HOT 2
- Cannot open links HOT 2
- Easier way to link files far away from each other in directory tree?
- Linking to jupyter notebook anchors
- Feature Request: Strikethrough, Underline and Custom Style Tag HOT 1
- Invalid color: #40c71 HOT 2
- [Info] Maintenance mode
- No comment anchors detected HOT 12
- Treeview badge not displaying correct number of anchors (if there are sections)
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 vscode-comment-anchors.