Uh oh!
There was an error while loading. Please reload this page.
Add Go to docs button to sidebar - #109
Conversation
vodorok
left a comment
There was a problem hiding this comment.
Please see my review. Otherwise, looks good to me.
Uh oh!
There was an error while loading. Please reload this page.
| ProcessType.checkers, | ||
| ProcessType.parse, | ||
| ProcessType.analyze | ||
| ProcessType.log, |
There was a problem hiding this comment.
Is this ProcessType.log new? If i am correct this is related to the Codechecker log command.
Can you please mention in the commit message, that you added this feature?
There was a problem hiding this comment.
It's been there previously, the only thing I did here is put it into the execution priority list. The only new one is ProcessType.checkers (which is now noted).
Uh oh!
There was an error while loading. Please reload this page.
| .find((val) => val.startsWith('doc_url:')) | ||
| ?.substring(8); | ||
| if (docUrl !== undefined) { |
There was a problem hiding this comment.
Is it possible that if no checker documentation is found, a "No documentation found" grayed-out button is displayed?
There was a problem hiding this comment.
There's currently no way to make a sidebar button unclickable, sadly.
Discookie
commented
Jul 8, 2022
Requires #112, as it will change the sidebar logic significantly. I will refactor again once it's merged. |
3814ea4 to
9b6588cCompare* Adds new `checkers` process type
* When pressing Stop analysis, long-running tasks (like analyze) are cleared, but short tasks (like version) are not.
* In some cases, `vscode.open` could cause the docs to open inside the editor as a tab.
9b6588c to
39900d7Compare
The documentation URLs are fetched by running
CodeChecker checkersat project load.