mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
1.6 KiB
1.6 KiB
Tooling Support for GitHub Desktop
Atom
Recommended packages:
- atom-typescript - syntax highlighting and intellisense for TypeScript
- atom-build-npm-apm - invoke all npm scripts straight from the editor by pressing F7 (requires atom-build)
- linter and linter-tslint - shows linter errors and warning in the editor
Visual Studio Code
The Desktop repository includes a list of recommended extensions:
- Select the Extension view, select Show Workspace Recommended Extensions from the dropdown menu
- Install all the extensions
Debugging
Chrome
- Run the command
npm run start
- Open Chrome Dev Tools
React Dev Tools should automatically install itself on first start. If you would also like to use Devtron, run the command require('devtron').install()
inside of the console in Chrome Dev Tools.
Visual Studio Code
- Run the command
npm run debug
- Select the Debug view from the view bar
- Select the process you would like to attach to (this will usually be the Renderer process)
- Press
F5
or the green play button