Support static scoped var navigation#470
Conversation
|
Out of curiosity, did you also validate this end-to-end in an editor like VSCode against an ss13 codebase to see if the feature is working as intended? |
|
fuck off you leech |
|
Yes. I do not have a literal VSCode UI available in this environment, so I could not do a click-through in VSCode itself, but I validated the same dm-langserver/LSP path that the VSCode client exercises. What I ran:
I also built For a controlled SS13-shaped For a real SS13 codebase, I cloned
So: not a literal VSCode UI smoke test, but yes, I validated this end-to-end through the language-server/editor protocol against an actual SS13 codebase. |
|
That's a really long way to say "no." I recommend you set up the extension or just the langserver for your editor of choice and test it end-to-end. Otherwise I don't think the maints would be willing to accept this PR, especially coming from a very young GitHub account with zero history in any SS13/DM related spaces. Good luck. |
|
Done. I set up the official The smoke exercised the VS Code provider APIs used by the editor:
Passed checks against real tgstation source:
Fresh validation after that:
All passed. Romeo / romeoapps.com |
Summary
/typepath::varseparately from instance-scopedfoo.barannotations./datum/foo::barand bare/datum/foo::completion.Validation
cargo test -p dreammaker static_scoped --test annotation_tests --no-default-featurescargo test -p dreammaker -p dm-langserver --no-default-featurescargo check -p dm-langserver --no-default-featuresrustfmt --check --edition 2021 crates/dm-langserver/src/completion.rs crates/dm-langserver/src/main.rs crates/dreammaker/src/annotation.rs crates/dreammaker/src/parser.rs crates/dreammaker/tests/annotation_tests.rsgit diff --check origin/master...HEADFixes #443.