-
Notifications
You must be signed in to change notification settings - Fork 10
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
Language server #117
Draft
BarryNolte
wants to merge
37
commits into
terrastruct:master
Choose a base branch
from
BarryNolte:LanguageServer
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Language server #117
Commits on Jun 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6a6967c - Browse repository at this point
Copy the full SHA 6a6967cView commit details
Commits on Jun 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a35eeac - Browse repository at this point
Copy the full SHA a35eeacView commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 86faaa8 - Browse repository at this point
Copy the full SHA 86faaa8View commit details
Commits on Jul 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8268aea - Browse repository at this point
Copy the full SHA 8268aeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4935810 - Browse repository at this point
Copy the full SHA 4935810View commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 689a24a - Browse repository at this point
Copy the full SHA 689a24aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9958431 - Browse repository at this point
Copy the full SHA 9958431View commit details
Commits on Jul 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for eddc7f7 - Browse repository at this point
Copy the full SHA eddc7f7View commit details
Commits on Jul 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 355fb28 - Browse repository at this point
Copy the full SHA 355fb28View commit details
Commits on Jul 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f5af735 - Browse repository at this point
Copy the full SHA f5af735View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c8fb692 - Browse repository at this point
Copy the full SHA c8fb692View commit details
Commits on Jul 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 74118df - Browse repository at this point
Copy the full SHA 74118dfView commit details
Commits on Aug 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6eaea67 - Browse repository at this point
Copy the full SHA 6eaea67View commit details -
Language Server --------------- 1. Identifies links and imports so the editor can mark them as such. Ctrl+click on the links will attempt to launch what the link points to. 2. 'Find All References' will show a list (as presented by vscode) of all references of the given node. 3. 'Goto Definition' will do one of two things. If there are multiple definitions, it will show a list similar to 'Find All References'. If there is only one option for the definition, then the cursor will jump to that option. 4. 'Rename...' will rename a node. If there are multiple nodes (a.style... / a.shape... / a.lable... / etc.), then a rename will change all locations that contain that node. 5. Auto Completion: a) Typing a '@' will show a list of d2 files that are contained in the d2 documents current folder and all child folders from there. b) Typing a '.' that is along a valid path, will bring up the proper list for that position in the path. c) Typing a ':' will bring up a list of possible values for that position in the current path. If there is no list, in the case of a freeform field such as 'label', then no list is shown. d) The 'Tab' key will commit the auto completion. 6. When a preview is not present, then there is no error messages generated, the language server will show any errors that are created during the AST phase of d2 compliation.
Configuration menu - View commit details
-
Copy full SHA for 0a7c2c0 - Browse repository at this point
Copy the full SHA 0a7c2c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06899b9 - Browse repository at this point
Copy the full SHA 06899b9View commit details
Commits on Aug 8, 2023
-
Final push before pull request
New items in the PR To facilitate a better edit/build/debug process, the extenstion was moved to a 'client' directory, the language server to a 'server' directory. **_Note:_** This may break the nightly build process and will need to be ajusted. 1. Identifies links and imports so the editor can mark them as such. Ctrl+click on the links will attempt to launch what the link points to. 2. 'Find All References' will show a list (as presented by vscode) of all references of the given node. 3. 'Goto Definition' will do one of two things. If there are multiple definitions, it will show a list similar to 'Find All References'. If there is only one option for the definition, then the cursor will jump to that option. 4. 'Rename...' will rename a node. If there are multiple nodes (a.style... / a.shape... / a.label... / etc.), then a rename will change all locations that contain that node. 5. Auto Completion: a) Typing a '@' will show a list of d2 files that are contained in the d2 documents current folder and all child folders from there. b) Typing a '.' that is along a valid path, will bring up the proper list for that position in the path. c) Typing a ':' will bring up a list of possible values for that position in the current path. If there is no list, in the case of a freeform field such as 'label', then no list is shown. d) The 'Tab' key will commit the auto completion. 6. When a preview is not present, then there is no error messages generated, the language server will show any errors that are created during the AST phase of d2 compliation.
Configuration menu - View commit details
-
Copy full SHA for 6594075 - Browse repository at this point
Copy the full SHA 6594075View commit details
Commits on Aug 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7df1372 - Browse repository at this point
Copy the full SHA 7df1372View commit details -
Configuration menu - View commit details
-
Copy full SHA for 313251f - Browse repository at this point
Copy the full SHA 313251fView commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 748398b - Browse repository at this point
Copy the full SHA 748398bView commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ccbe41f - Browse repository at this point
Copy the full SHA ccbe41fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9dc75 - Browse repository at this point
Copy the full SHA 6b9dc75View commit details
Commits on Dec 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9a20650 - Browse repository at this point
Copy the full SHA 9a20650View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8eaeee - Browse repository at this point
Copy the full SHA d8eaeeeView commit details
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6b86fc1 - Browse repository at this point
Copy the full SHA 6b86fc1View commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ec25e38 - Browse repository at this point
Copy the full SHA ec25e38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02fe37b - Browse repository at this point
Copy the full SHA 02fe37bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aeff708 - Browse repository at this point
Copy the full SHA aeff708View commit details -
Configuration menu - View commit details
-
Copy full SHA for c254965 - Browse repository at this point
Copy the full SHA c254965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f0ff39 - Browse repository at this point
Copy the full SHA 4f0ff39View commit details
Commits on Feb 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7c95cc4 - Browse repository at this point
Copy the full SHA 7c95cc4View commit details
Commits on Feb 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1976c65 - Browse repository at this point
Copy the full SHA 1976c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 909980b - Browse repository at this point
Copy the full SHA 909980bView commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6d5aca9 - Browse repository at this point
Copy the full SHA 6d5aca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed206a0 - Browse repository at this point
Copy the full SHA ed206a0View commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b0f75cd - Browse repository at this point
Copy the full SHA b0f75cdView commit details
Commits on Mar 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 86f1055 - Browse repository at this point
Copy the full SHA 86f1055View commit details
Commits on Mar 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99bbb27 - Browse repository at this point
Copy the full SHA 99bbb27View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.