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

VS Code for development #108

Open
hopskipnfall opened this issue Aug 22, 2023 · 1 comment · May be fixed by #95
Open

VS Code for development #108

hopskipnfall opened this issue Aug 22, 2023 · 1 comment · May be fixed by #95
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@hopskipnfall
Copy link
Owner

It would be great to add VS Code as an alternative to IDEA for development, but finding a combination of settings and plugins that allow for a similar (even acceptable) development experience has proven difficult.

Requirements:

  1. If I run ./gradlew compileKotlin to pull in all dependencies and compile the code and then open up the IDE, it should be able to index the entire repository (possibly requiring some human intervention to install plugins).
  2. High quality autocomplete that isn't a fuzzy text search.
  3. Recognizes compile-time errors when I write code that doesn't compile (without the developer having to run CLI commands).

Bonus points if it can infer types and bind to a debugger.

@CEnnis91 was working on a more ambitious attempt at this in #95 but it still needs work.

@hopskipnfall hopskipnfall added enhancement New feature or request help wanted Extra attention is needed labels Aug 22, 2023
@hopskipnfall hopskipnfall linked a pull request Aug 22, 2023 that will close this issue
@hopskipnfall
Copy link
Owner Author

I should also note that the things that make this repository tricky for LSP are:

  • We have a Kotlin file that is generated by a "filtering" step (CompiledFlags.kt)
  • We have a compilation step where Dagger-generated Java files are created, so both Java and Kotlin files need to be indexed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant