mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 03:10:50 +01:00
We unified syntax highlighting and extracted it into a low level module. Syntax highlighting from now on takes place in a web worker, so that the user interface stays responsive. The web worker stops automatically if the number of nodes which should be highlighted exceeds the defined limit we believe the browser can handle. Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com> Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
scm-ui
VSCode Plugins
- EditorConfig for VS Code
- Flow Language Support
- Prettier - Code formatter
- Project Snippets
- Debugger for Chrome
code --install-extension EditorConfig.EditorConfig
code --install-extension flowtype.flow-for-vscode
code --install-extension esbenp.prettier-vscode
code --install-extension rebornix.project-snippets
# debugging with chrome browser
code --install-extension msjsdiag.debugger-for-chrome
Install pre-commit hook
echo "" >> .hg/hgrc
echo "[hooks]" >> .hg/hgrc
echo "pre-commit = cd scm-ui && yarn run pre-commit" >> .hg/hgrc