Based on a wonderful editor: VS Code
install with your package manager: (-dev
insteadof -devel
on Ubuntu)
bash tmux wget curl tar xz findutils git
make gcc-c++ libstdc++ gtk2 libXtst libXScrnSaver GConf2 alsa-lib
libsecret-devel libX11-devel libxkbfile-devel
wqy-zenhei-fonts wqy-unibit-fonts wqy-bitmap-fonts # locale font
If you use any desktop environment, you probably already installed all of them
- git for windows (must install in PATH).
- Cygwin64, with package:
coreutils
unzip
grep
sed
wget
curl
tar
xz
In theory, any bash env with these packages is ok, but not tested
brew install coreutils findutils gnu-tar gnu-sed gawk gnutls gnu-indent gnu-getopt wget md5sha1sum
- Open a terminal. (cygwin terminal on windows)
- get source and chdir into:
git clone [email protected]:kendryte/kendryte-ide.git && cd kendryte-ide
- install dependencies:
bash ./my-scripts/prepare-development.sh
- watch src change and compile:
bash ./my-scripts/start-watch.sh
- after watch print success, open another cygwin window.
- start main app:
bash ./my-scripts/start-code.sh
DO NOT use yarn add
s.
modify package.json
by hand, and run bash ./my-scripts/pack-windows.sh
again.
start-code.sh
must run without root. If you are using root, run sudo -u NormalUser bash ./my-scripts/start-code.sh
instead.
- you must have a "workspace" like this:
๐ New Folder *<-- the "workspace"*
๐ kendryte-ide *<-- this project*
๐ HOME *<-- this will auto create during run*
- you need an user with write permission to the "workspace" and all sub directories
To make a release, you only need to download source code, no install needed.
bash ./my-scripts/build-windows.sh
# Or
bash ./my-scripts/build-linux.sh
Compressed release file will in .release folder.
.rpm
/.deb
/.msi
files will not generate.
Follow upstream (https://github.com/Microsoft/vscode) update:
bash ./my-scripts/follow-upstream.sh
Then use IDE merge "microsoft" branch into "development". Check override of edits in vscode source after merge.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.