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

fsautocomplete go to source #15

Open
joprice opened this issue Jun 15, 2024 · 1 comment
Open

fsautocomplete go to source #15

joprice opened this issue Jun 15, 2024 · 1 comment

Comments

@joprice
Copy link
Contributor

joprice commented Jun 15, 2024

Is it possible to have jump to source working for the generated source via fsautocomplete (via sourcelink integration?)? Currently, if I try to jump to definition when hovering over a type like Glutinum.ExpressServeStaticCore.Router, I get an error like:

ionide: -32603: Range for nonexistent file found, no ident found: /some/local/directory/C:\Users\Maxime\Documents\Wor
kspace\Github\MangelMaxime\Fable.Express\glues\ExpressServeStaticCore\src\Glutinum.ExpressServeStaticCore.fs
@MangelMaxime MangelMaxime transferred this issue from glutinum-org/cli Jun 15, 2024
@MangelMaxime
Copy link
Collaborator

I believe this is because I didn't include some rules when packaging the package for NuGet.

I will have a look to update to Fable.Packages.SDK which should fix this issue and allows navigating the code.

https://github.com/fable-compiler/Fable.Package.SDK/blob/131c17c2d1e3ee3f802e53aaf1f1bcf8d6b5f12e/src/build/Fable.Package.SDK.props#L8-L19

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