-
Notifications
You must be signed in to change notification settings - Fork 490
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
LS: Move all LS startup logic to its library main function #5019
Commits on Feb 7, 2024
-
VSCode: Separate "main" functions from LanguageClient code
commit-id:13cfed95
Configuration menu - View commit details
-
Copy full SHA for c8492d2 - Browse repository at this point
Copy the full SHA c8492d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7faf1a - Browse repository at this point
Copy the full SHA d7faf1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02262a9 - Browse repository at this point
Copy the full SHA 02262a9View commit details -
VSCode: Refactor cairols.ts to use
Context
and levelled loggingcommit-id:94f4795c
Configuration menu - View commit details
-
Copy full SHA for 62068b2 - Browse repository at this point
Copy the full SHA 62068b2View commit details -
VSCode: Do not spawn LS process manually and use VSC idioms instead
This change removes the logic which passes CairoLS stdout to extension's logs. While this seems like a drawback, this logic was actually pretty unidiomatic and required early branching in LS binary searching code. CairoLS logs were printed by VSCode anyway in separate log channel. This code will be cleaned up further in subsequent commits. commit-id:74dcbc57
Configuration menu - View commit details
-
Copy full SHA for 04c0b51 - Browse repository at this point
Copy the full SHA 04c0b51View commit details -
VSCode: Add
Scarb
class and move Scarb's LS discovery therecommit-id:67d23268
Configuration menu - View commit details
-
Copy full SHA for d00dd67 - Browse repository at this point
Copy the full SHA d00dd67View commit details -
VSCode: Move away and simplify tool finding functions
commit-id:fd8af7de
Configuration menu - View commit details
-
Copy full SHA for 43558de - Browse repository at this point
Copy the full SHA 43558deView commit details -
VSCode: Encapsulate all configuration magic into
Config
classThis commit also slightly changes the logic behind the `${workspaceFolder}` placeholder. Now, it expands to empty string in case there is no open workspace. This should not be a problem, because it does not make sense to use this placeholder in global config. commit-id:a58e04a6
Configuration menu - View commit details
-
Copy full SHA for f148354 - Browse repository at this point
Copy the full SHA f148354View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e11c58 - Browse repository at this point
Copy the full SHA 1e11c58View commit details -
VSCode: Move Scarb searching logic to the
Scarb
classcommit-id:c0872618
Configuration menu - View commit details
-
Copy full SHA for c174370 - Browse repository at this point
Copy the full SHA c174370View commit details -
VSCode: Extract standalone CairoLS logic to
StandaloneLS
classcommit-id:43ff3b1c
Configuration menu - View commit details
-
Copy full SHA for efae254 - Browse repository at this point
Copy the full SHA efae254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 855e667 - Browse repository at this point
Copy the full SHA 855e667View commit details -
Configuration menu - View commit details
-
Copy full SHA for 038f67a - Browse repository at this point
Copy the full SHA 038f67aView commit details -
LS: Move all LS startup logic to its library main function
This change gives the LS crate exclusive control on its running environment and behaviours, like Tokio runtime or logging. commit-id:548527aa
Configuration menu - View commit details
-
Copy full SHA for c1bb4e0 - Browse repository at this point
Copy the full SHA c1bb4e0View commit details