g2384 8c5893f4fa | 3 years ago | |
---|---|---|
.github | 3 years ago | |
VHDLFiles | 5 years ago | |
tests | 3 years ago | |
.gitignore | 4 years ago | |
LICENSE | 6 years ago | |
README.md | 3 years ago | |
ReleaseNotes_before27.md | 3 years ago | |
VHDLFormatter.js | 3 years ago | |
VHDLFormatter.ts | 3 years ago | |
descriptiveCounter.js | 4 years ago | |
descriptiveCounter.ts | 5 years ago | |
highlight.css | 6 years ago | |
highlight.js | 6 years ago | |
index.html | 4 years ago | |
jest.config.js | 4 years ago | |
main.js | 4 years ago | |
main.ts | 4 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
style.css | 4 years ago | |
tsconfig.json | 4 years ago |
Online VHDL formatter written in Typescript
Try it here: https://g2384.github.io/VHDLFormatter/
Simply download/clone this repository, and open the index.html
file.
index.html
: html + javascript. Collect settings from UI, call the beautify function, load/save/update cached settings.main.ts
: typescript. Some code required by index.html
are moved here.VHDLFormatter.ts
: typescript. Define classes, format VHDL codetests
: folder. Contain all test files
VHDLFormatterUnitTests.ts
: typescript. Handcrafted, crude tests.VHDLFiles
: vhdl. Contain complicated VHDL files which I don't want to lose.Use Visual Studio Code to open the repo folder.
Tests must be run before each commit.
Run (Ctrl + Shift + D)
Run Unit Tests
configurationStart Debugging
buttonTerminal
-> Run Task...
npm: test jest
Release notes before 2.7: test