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

Language server #117

Draft
wants to merge 37 commits into
base: master
Choose a base branch
from
Draft

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    6a6967c View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Work In Progress

    BarryNolte committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    a35eeac View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    86faaa8 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. Configuration menu
    Copy the full SHA
    8268aea View commit details
    Browse the repository at this point in the history
  2. Fixed up d2 path, again

    BarryNolte committed Jul 8, 2023
    Configuration menu
    Copy the full SHA
    4935810 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    689a24a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9958431 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2023

  1. CheckPoint

    BarryNolte committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    eddc7f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2023

  1. Checkpoint

    BarryNolte committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    355fb28 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. Configuration menu
    Copy the full SHA
    f5af735 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Checkpoint

    BarryNolte committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    c8fb692 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Pre-Code Cleanup

    BarryNolte committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    74118df View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Configuration menu
    Copy the full SHA
    6eaea67 View commit details
    Browse the repository at this point in the history
  2. First Language Server PR

    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.
    BarryNolte committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    0a7c2c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06899b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. 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.
    BarryNolte committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    6594075 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Get CI to work (maybe...)

    BarryNolte committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    7df1372 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    313251f View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Code Review Fixes

    BarryNolte committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    748398b View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    ccbe41f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b9dc75 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    9a20650 View commit details
    Browse the repository at this point in the history
  2. Code clean-up

    BarryNolte committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    d8eaeee View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Code Cleanup

    BarryNolte committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    6b86fc1 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    ec25e38 View commit details
    Browse the repository at this point in the history
  2. Fix formatting bugs

    BarryNolte committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    02fe37b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aeff708 View commit details
    Browse the repository at this point in the history
  4. eslint version mismatch

    BarryNolte committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    c254965 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f0ff39 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    7c95cc4 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Code review changes

    BarryNolte committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    1976c65 View commit details
    Browse the repository at this point in the history
  2. Format and forgotten file

    BarryNolte committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    909980b View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Code Review Change

    BarryNolte committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    6d5aca9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed206a0 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Work In Progress

    BarryNolte committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    b0f75cd View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Update dependencies

    BarryNolte committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    86f1055 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Add a 'recompile' button

    BarryNolte committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    99bbb27 View commit details
    Browse the repository at this point in the history