-
Notifications
You must be signed in to change notification settings - Fork 3
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
Significant proof checking refactoring #46
Merged
Merged
Changes from 26 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2361b69
Implement base use of feature to check proofs. Needs fixes
K-dizzled 9e9b6e1
Test and integrte command arg of getGoals to check proofs
K-dizzled 415f71d
Merge main into core-lsp-rework
K-dizzled d5c66ac
Upgrade coq-lsp in actions to v0.2.2 for arg in getGoals
K-dizzled 09c957e
Change type of CoqLspClient to Interface everywhere possible
K-dizzled e32b7f9
Clean CoqLspClientInterface
K-dizzled 9125619
Refactor `CoqProofChecker`
K-dizzled ad795e7
Clean-up
K-dizzled 872987b
Refactor creating in plugin mode: now once in
K-dizzled e97e1ec
Create decorator that logs execution time of the method
K-dizzled 5baf1f8
Make computation of `initialGoal` optional
K-dizzled 9319114
Create permanent status bar button
K-dizzled b2c18bf
Add refactor TODO to
K-dizzled 3f44690
Sketch aborting the completion generation through `AbortSignal`
K-dizzled 9689e85
Refactor `SourceFileEnvironment`: remove dirPath and rename
K-dizzled 095b99b
Refactor `SourceFileEnvironment`: remove `fileLines`
K-dizzled df91211
Refactor `checkGeneratedProofs`
K-dizzled 632c80a
Minor changes after sketching completion abort in extension
K-dizzled 7530442
Merge branch 'core-lsp-rework' into extension-completion-abort
K-dizzled e56e10e
Merge pull request #45 from JetBrains-Research/extension-completion-a…
K-dizzled d8f591f
Fix merge of `abort-completion` into `core-lsp-refactor`
K-dizzled 0ec7316
Add TODOs on `LspCoreRefactor`
K-dizzled cdd87b3
Create `SessionExtensionState`
K-dizzled 34bdfa2
Refactor `CoqLspClient` to `CoqLspClientImpl`
K-dizzled bab8a26
Finalize aborting `coq-lsp` gracefully
K-dizzled e122675
Prepare for v2.3.1 release
K-dizzled 33d1197
Fix cosmetics from review in PR#46
K-dizzled d1d4952
Fix more issues from review in PR#46
K-dizzled 09a3420
Code style fixes and core in rankers from review in PR#46
K-dizzled c58c89f
Refactoring `healthStatusIndicator` according to review in PR#46
K-dizzled a8ac5b8
Renamings according to review in PR#46
K-dizzled 0b36cc3
More accurate `completionAbortError` handling
K-dizzled f5122cd
Refactor `coqLsp` tests according to review of PR#46
K-dizzled File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"files.exclude": { | ||
"**/*.vo": true, | ||
"**/*.vok": true, | ||
"**/*.vos": true, | ||
"**/*.aux": true, | ||
"**/*.glob": true, | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/Thumbs.db": true, | ||
"**/*.vo": true, | ||
"**/*.vok": true, | ||
"**/*.vos": true, | ||
"**/*.aux": true, | ||
"**/*.glob": true, | ||
"out": false, | ||
"**/*_cp_aux.v": true | ||
"out": false | ||
}, | ||
"search.exclude": { | ||
"out": true // set this to false to include "out" folder in search results | ||
}, | ||
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts | ||
"typescript.tsc.autoDetect": "off" | ||
"typescript.tsc.autoDetect": "off", | ||
"coq-lsp.check_only_on_request": false, | ||
"eslint.options": { | ||
"experimentalDecorators": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule imm
updated
5 files
+0 −52 | .github/workflows/nix-action-8.18.yml | |
+0 −52 | .github/workflows/nix-action-8.19.yml | |
+7 −9 | .nix/config.nix | |
+1 −1 | src/imm/SubExecution.v | |
+13 −32 | src/travorder/TraversalOrder.v |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make sure we are on the same page: am I right that in the correct implementation this
closeTextDocument
should be called in thefinally
case, whilecheckProofs
should be wrapped intotry
one?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure I understood the question( Well, in general, I guess the answer to your question is
yes
. The promised returned by methodcheckProofs
could be rejected, yet, other errors shall not be thrown.closeDocument
ideally should happen in some wrapper over thecoqProofChecker
. Btw, would be neat to do smth like:withOpenAuxFile: ...