Skip to content

Generated code detection when done by a build plugin. #672

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

Closed
carlynorama opened this issue Jan 25, 2024 · 2 comments
Closed

Generated code detection when done by a build plugin. #672

carlynorama opened this issue Jan 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@carlynorama
Copy link

Is your feature request related to a problem? Please describe.
When I run a build plug in using swift run in the integrated terminal (my usual process) and it puts that code in the standard context.pluginWorkDirectory in the .build folder it would be nice if the ["cannot find $MYNEWTHING in scope" sourcekitd ] error didn't pop up. Even lovelier would be auto completion.

  • Editing the file does not change the message.

  • Reopening the window does not change the message.

  • Giving it some time does not help.

  • Quiting and reloading VScode does not help.

  • VSCode Version: 1.85.2 (Universal), Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681

  • Swift for Visual Studio Code v1.7.2

Demo project(s):

Describe the solution you'd like
Instead, I'd like those symbols to be available without having to figure out a VScode setting.

Describe alternatives you've considered
Using Xcode for all dev work with package build plugins and keeping VScode for Linux testing only. Trying to figure out if there is a settings.json / launch.json / tasks.json thing I should be trying.

Additional context
I suspect my other issues with build plugins & VSCode will be fixed in 5.10, perhaps this is a new feature already!

@carlynorama carlynorama added the enhancement New feature or request label Jan 25, 2024
@carlynorama
Copy link
Author

carlynorama commented Jan 25, 2024

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

No branches or pull requests

1 participant