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

deno(import-prefix-missing), deno-ts(7026) and deno-ts(2304), #1065

Closed
LEVOGNE opened this issue Feb 13, 2024 · 2 comments
Closed

deno(import-prefix-missing), deno-ts(7026) and deno-ts(2304), #1065

LEVOGNE opened this issue Feb 13, 2024 · 2 comments

Comments

@LEVOGNE
Copy link

LEVOGNE commented Feb 13, 2024

Bug Description
I've installed Deno directly from the official website using the command curl -fsSL https://deno.land/install.sh | sh, which installed Deno version 1.40.4 (release, aarch64-apple-darwin) with V8 12.1.285.6 and TypeScript 5.3.3 on my Mac. Subsequently, I downloaded Fresh with deno run -A -r https://fresh.deno.dev (version 1.6) and started the application using deno task start. The application runs flawlessly; however, I am encountering issues with formatting in VSCode, suggesting a potential issue with the Deno plugin.

Steps to Reproduce
1.) Install Deno using the provided curl command.
2.) Install Fresh using deno run -A -r https://fresh.deno.dev.
3.) Start the Fresh application with deno task start.

Expected Behavior
I expected VSCode to correctly format and handle the Deno/Fresh project without any issues.

Actual Behavior
The application runs as expected, but VSCode does not format the code correctly, and there seem to be issues with the editor integration, potentially indicating a problem with the Deno plugin.

Bildschirmfoto 2024-02-13 um 16 00 51 Bildschirmfoto 2024-02-13 um 16 00 12

Environment
Deno Version: 1.40.4 (release, aarch64-apple-darwin)
Fresh Version: 1.6
VSCode Version: 1.86.1 (Universal)
Deno VSCode Extension Version: 3.33.3
Operating System: Darwin arm64 23.3.0

Additional Context
Everything works fine from a functionality standpoint, but the editor-related features (e.g., formatting) in VSCode seem to be malfunctioning. I suspect there might be an issue with the Deno plugin for VSCode.

Please adjust any details according to your specific situation before submitting it on GitHub.

@nayeemrmn
Copy link
Collaborator

This is caused by #938. You have to make sure fresh is your workspace root.

@LEVOGNE
Copy link
Author

LEVOGNE commented Feb 15, 2024

Tried so many things and ended up with something so simple! Thank you :)

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