vscode-codeql icon indicating copy to clipboard operation
vscode-codeql copied to clipboard

Change to `~/.config/codeql/config` not reflected in workspace until restart

Open aeisenberg opened this issue 3 years ago • 0 comments

First noticed https://github.com/github/vscode-codeql/issues/1124#issuecomment-1039003407

To reproduce:

  1. Create a .config/codeql/config file
  2. add an entry like resolve ram --heap-ram 100
  3. Start the vscode extension
  4. Notice that it is not possible to run any queries (heap ram is too low) Also notice a warning in the extension log console: resolve ram> Warning: It is not recommended to specify --heap-ram without also giving --ram.
  5. Remove the entry from the config file
  6. Restart server

BUG: The warning should no longer be printed and queries should be able to run

Restart vscode and the warning goes away and queries can be run.

aeisenberg avatar Feb 14 '22 18:02 aeisenberg