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

Basic Goto Declaration Support #22

Closed
wants to merge 24 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e23da49
Analyze entire project on opening it
kerristrasz Apr 11, 2024
e0cc38b
handle workspace events
kerristrasz Apr 11, 2024
07bd76d
Fix text document modification detection
kerristrasz Apr 12, 2024
380e65c
Add caching for tree sitter analysis
kerristrasz Apr 12, 2024
683af77
Add prettier config
kerristrasz Apr 19, 2024
e6f5b3b
Steal representation of Modelica projects from OMFrontend
kerristrasz Apr 19, 2024
38da1aa
Finish resolve algorithm; integrate with analyzer and server
kerristrasz Apr 22, 2024
3646148
Get outline working again; changes to uri handling
kerristrasz Apr 23, 2024
7eb3727
Fix infinite recursion and declaration symbols not being found
PaddiM8 Apr 24, 2024
9dae5cb
Implement goto declaration/definition for locals
kerristrasz Apr 26, 2024
8795ed1
Minor tweaks to resolve algorithm
kerristrasz Apr 30, 2024
30cbf1d
Add new resolve algorithm
kerristrasz May 1, 2024
df86c40
Fix resolution of types and locals
PaddiM8 May 1, 2024
c15d93f
Fix resolution of inherited members
PaddiM8 May 1, 2024
aaa6dbc
Allow relative references in extends clauses
PaddiM8 May 1, 2024
6101ada
Bugfixes; use paths internally
kerristrasz May 2, 2024
e015766
Fix endless recursion bug in resolveReference
kerristrasz May 3, 2024
2d0cc19
Fix resolution algorithm
kerristrasz May 3, 2024
b597f9a
Tweak resolution algorithm
kerristrasz May 7, 2024
de6798c
Reanalyse when a file is modified, before it's saved
PaddiM8 May 7, 2024
634fb3c
Incremental parsing
PaddiM8 May 10, 2024
cf6d053
Whitespace changes
AnHeuermann May 14, 2024
6a727b3
Add additional documentation.
kerristrasz May 21, 2024
38dc70e
update settings
kerristrasz May 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@
"nodelib",
"OSMC",
"redeclaration"
]
],
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think @AnHeuermann meant that you can add this to your VS code settings so the code you write is always formatted without trailing whitespaces. I don't think he meant to add these settings to the project.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed 😆

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surely it would be a good idea to add these to the project settings anyways, right? Doing that would help to ensure a more consistent style across contributors.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not everyone uses VS Code, so I usually don't add the .vscode directory. For a VS Code extension this might be different.
Both is fine with me.

}
Loading