Coder Social home page Coder Social logo

Comments (20)

Overboard avatar Overboard commented on July 29, 2024 8

Ah! I just noticed there's no *.py in the defaults for "todohighlight.include".
Thanks for pointing me in the right direction, @csbatista

from vscode-todo-highlight.

KamasamaK avatar KamasamaK commented on July 29, 2024 2

For me, the list only works for "ALL". If I choose "TODO:" or "FIXME:", it shows an info message that says "No results".

from vscode-todo-highlight.

anonaut avatar anonaut commented on July 29, 2024 1

i got the same problem when i tried to list highlights in files with the filetype .vba and add that to "todohighlight.include". it highlights both keywords as it should but listing is gives back zero results. is there a limitation on which languages the extension works?

example comment would be: ' TODO: Test Discount Features

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

More info is needed.
One possible reason I can think of is that the count of files within your project exceeded the limit of this extension.
Try tune the todohighlight.maxFilesForSearch configuration.

from vscode-todo-highlight.

julianblk avatar julianblk commented on July 29, 2024

Hi, I'm having the same issue (I set todohighlight.maxFilesForSearch: 512000). The command starts ok and goes really fast to 99% and then stays there forever. I 'm not seeing any output either:

todohighlight

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

I wonder if this still exists in the latest version.

from vscode-todo-highlight.

haolly avatar haolly commented on July 29, 2024

@wayou Yes, it's still exists in the lastest version, 0.5.3

from vscode-todo-highlight.

Overboard avatar Overboard commented on July 29, 2024

@wayou I see a similar symptom in a simplified reproduction. The List Highlighted Annotations command doesn't stop at 99% as mentioned above, but does fail to return any results. The status bar shows '0', and when clicked Info: No results is shown.

Image of installed extensions, and VSCode version. The settings.json file is all defaults.

todo_highlight_no_list_01

Upon clicking the List annotations icon in status bar:
image

from vscode-todo-highlight.

csbatista avatar csbatista commented on July 29, 2024

I'm having the same issue on VS Code 1.13.1
I've tried with a project of only one file and it also does not work.
Is there any fix for this?

UPDATE: It works in a javascript project, but not on a python one.

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

@DanielJoyce what's your configuration?

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

erm...I bet this's been solved in the new version.
waiting anyone to confirm and feedback.

from vscode-todo-highlight.

KamasamaK avatar KamasamaK commented on July 29, 2024

Using VS Code 1.25.1

In my minimal testing, this is working for List annotations in current file...

However, when selecting List all annotations... it is not finding any regardless of what I choose. The output shows "Searched 12 file(s), found 0 annotation(s)." which is wrong since I have many more than 12 files. The only setting I've overridden is the following

"todohighlight.exclude": [
    "**/node_modules/**",
    "**/bower_components/**",
    "**/dist/**",
    "**/build/**",
    "**/.vscode/**",
    "**/.github/**",
    "**/_output/**",
    "**/*.min.*",
    "**/*.map",
    "**/.next/**",
    "**/out/**"
  ]

Also, despite enabling todohighlight.toggleURI as instructed, the links are still not clickable.

from vscode-todo-highlight.

KamasamaK avatar KamasamaK commented on July 29, 2024

After looking at the Developer Tools console, I found that it encountered an error when trying to read a .png file and probably stopped there. I added "**/*.png" to the todohighlight.exclude array in my settings and it seems to have fixed the issue for me. Although there are surely other file types might cause this issue.

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

after v1.0.0 all file types are include by default and none support binary file will be skipped.
but the error I still print it out.
so basically if you are using the latest version of this extension, the png wont stop the searching process.

from vscode-todo-highlight.

KamasamaK avatar KamasamaK commented on July 29, 2024

I am using v1.0.0. I updated before testing.

UPDATE: Actually, it was v1.0.1

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

The output shows "Searched 12 file(s), found 0 annotation(s)." which is wrong since I have many more than 12 files.

note that the git ignored files (defined in .gitignore) will not be include .

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

I am using v1.0.0. I updated before testing.

ok, i will look into a bit further.

from vscode-todo-highlight.

KamasamaK avatar KamasamaK commented on July 29, 2024

note that the git ignored files (defined in .gitignore) will not be include .

This is not what caused the issue, but is good to know nonetheless. This should be documented in the README and should probably have a setting.

from vscode-todo-highlight.

wayou avatar wayou commented on July 29, 2024

This is not what caused the issue, but is good to know nonetheless. This should be documented in the README and should probably have a setting.

I even don't know after debugging with the api vscode.workspace.findFiles. So it's the the api behavior and I think it's reasonable.

from vscode-todo-highlight.

odiferousmint avatar odiferousmint commented on July 29, 2024

Also, despite enabling todohighlight.toggleURI as instructed, the links are still not clickable.

Same issue here. Installed it today, the links are not clickable.

Edit: never mind, they are. You just have to hold Ctrl when left clicking! Silly me.

from vscode-todo-highlight.

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.