Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undeclared identifiers in .nims files #74

Open
marcinczenko opened this issue Jul 19, 2024 · 1 comment
Open

Undeclared identifiers in .nims files #74

marcinczenko opened this issue Jul 19, 2024 · 1 comment

Comments

@marcinczenko
Copy link

Nim version: 2.0.8 [MacOSX: arm64]
VSCode Extension Version: v0.9.0

I am quite new to Nim ecosystem and community. I am using vscode-nim extension and when writing Nim Script files .nims, I am getting lots of undeclared identifier errors. For example:

image
mode = ScriptMode.Verbose

task hello, "say hello":
  echo "Hello, world!"

When running nim check on that file everything is working fine and no problems are reported, which seemed to be a problem in the past as well (see nim-lang/Nim#19440).

Is there a way to fix this? Or maybe at least a way to ignore certain (type of) file?

@Anuken
Copy link

Anuken commented Oct 20, 2024

Screenshot from 2024-10-19 20-11-14

I am encountering similar issues.

I have no experience with VSC extensions, but removing .nims from the list of extensions might help as a temporary measure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants