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

Document how to disable JavaScript & TypeScript when it's not desired #7291

Open
vorburger opened this issue Feb 9, 2025 · 1 comment
Open
Assignees
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin type: feature request

Comments

@vorburger
Copy link

vorburger commented Feb 9, 2025

Description of the feature request:

My project https://github.com/enola-dev/enola works with this plugin when I Sync it in an IntelliI "Ultimate", with JavaScript & TypeScript support.

But when I Sync it in a IntelliJ IDEA 2024.3.1.1 (Community Edition), which does NOT have JS & TS, with 2025.01.21.0.2-api-version-243 of this plugin, then it fails to sync due to:

Updating VCS...
Running Bazel info...
Command: bazel info --tool_tag=ijwb:IDEA:community --color=yes --progress_in_terminal_title=no --inject_repository=intellij_aspect=/home/vorburger/.local/share/JetBrains/IdeaIC2024.3/ijwb/aspect --inject_repository=intellij_aspect_template=/home/vorburger/git/github.com/enola-dev/enola/.ijwb/.idea/aspect --inject_repository=intellij_aspect=/home/vorburger/.local/share/JetBrains/IdeaIC2024.3/ijwb/aspect --inject_repository=intellij_aspect_template=/home/vorburger/git/github.com/enola-dev/enola/.ijwb/.idea/aspect bazel-bin bazel-genfiles bazel-testlogs execution_root package_path output_path output_base release starlark-semantics java-home --
Resolving module repository mapping...
Command: bazel mod --tool_tag=ijwb:IDEA:community --color=yes --progress_in_terminal_title=no --inject_repository=intellij_aspect=/home/vorburger/.local/share/JetBrains/IdeaIC2024.3/ijwb/aspect --inject_repository=intellij_aspect_template=/home/vorburger/git/github.com/enola-dev/enola/.ijwb/.idea/aspect --inject_repository=intellij_aspect=/home/vorburger/.local/share/JetBrains/IdeaIC2024.3/ijwb/aspect --inject_repository=intellij_aspect_template=/home/vorburger/git/github.com/enola-dev/enola/.ijwb/.idea/aspect --noenable_workspace dump_repo_mapping "" --
JavaScript is not supported in this IDE.
TypeScript is not supported in this IDE.
Sync failed: Could not verify the project view

I want to only work on the Java code using IJ non-Ultimate.

The .bazelproject does not even have JS / TS in additional_languages:.

Even locally entirely deleting the sub-folder of the project which contains node_modules/ and *.ts does not seem to help.

How do I disable setting up JS & TS in the plugin so that one can use it just for Java development?

@vorburger
Copy link
Author

Oh, "look ma", this error comes from here...

... so I guess what I'm really asking here is how / where in the IntelliJ UI does one configure workspaceLanguageSettings.isLanguageActive(LanguageClass.JAVASCRIPT)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-maintainer Awaiting review from Bazel team on issues product: IntelliJ IntelliJ plugin type: feature request
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants