Skip to content
Arash-AfsharPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auditor

Installation for development

Installation for usage

Install the extension

  • cd extension
  • yarn install
  • vsce package
    • This will create a .vsix
  • Go to the extension section of VSCode and install thee .vsix file

Run the server

  • cd service
  • REPO_PATH=<path-to-the-repo-you-want-to-audit> DB_PATH=<path-to-parent-directory-to-store-db> cargo run --bin auditor -- --port 3000
    • Use cargo watch -- cargo run ... during development for hot reloading

Run the web view

Usage

Customize the extension colors

Modify the settings.json (either at user or workspace level) file and add the following:

  "workbench.colorCustomizations": {
    "auditor.reviewedBackground":"#FFF00055",
    "auditor.modifiedBackground": "#FF000055",
    "auditor.ignoredBackground": "#D3D3D3F0"
  },
  "auditor.auditingFiletypes": ["c", "cpp", "go"],
  "auditor.commenterName": "my name"

Mark lines

Open the command pallet (cmd+shift+P) and search for the following. You can also assign your own shortcuts to these commands.

  • Mark liens as modified
  • Mark liens as reviewed
  • Mark liens as cleared
  • Mark liens as ignored

Click on the + sign that appears on the line number gutter to leave a comment

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages