Codeblocks
$ sudo apt-get install codeblocks
$ sudo apt-get install codeblocks-dbg
$ codeblocks (start the codeblocks program)
顏色配置:color-theme.conf
配置文件在
http://wiki.codeblocks.org/index.php/Syntax_highlighting_custom_colour_themes
該配置文件(color-theme.conf)應該放在
/home/spacesoftwares/.config/codeblocks/color-theme.conf
如果不起作用,就把原來那個default.conf放到其他地方去(避免出錯要找回來再用),然後把這個新的color-theme.conf改成default.conf(相當於替換掉原來那個default.conf),這樣就可以了。配置在codeblocks->settings->editors->syntax highlighting...
查看配置命令
sudo cb_share_config
Typora (Markdown editor)
# or use
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora
Notepad++
Step 1: Get Snap
一個很方便的包管理工具,很小,
sudo apt-get install snapd snapd-xdg-open
Step 2: Install Notepad++
sudo snap install notepad-plus-plus
這個比較耗時間,耐心點。安裝完畢,你應該可以看到
notepad-plus-plus 7.5.6 from ‘mmtrt’ installed
Step 3: Install some plugin…, if you want...
sudo snap connect notepad-plus-plus:process-control
sudo snap connect notepad-plus-plus:removable-media
sudo snap connect notepad-plus-plus:hardware-observe
sudo snap connect notepad-plus-plus:cups-control
文字顏色的配置在這裏(注意使用snap時纔會是這個路徑)setting->style configurator...
/home/spacesoftwares/snap/notepad-plus-plus/124/notepad-plus-plus/themes
你可以到網上去找顏色配置,比如
https://techmantium.com/10-great-notepad-colour-schemes/
Visual studio code開發環境
直接到官方的網站上下載安裝包安裝即可
https://code.visualstudio.com/docs/?dv=linux64_deb
說實話,微軟在調試設計方面還是蠻務實的,用起來比emacs順手(尤其是對深度windows中毒的。。。),
使用方法:
matthew@spacesoftwares:~/CPP$ g++ -o test test.cpp -g
matthew@spacesoftwares:~/CPP$ dir
test test.cpp
可以看到,已經生成了可以調試的test可執行文件
安裝完vscode後,直接debug->start debugging,如果你是第一次的話,會要求安裝語言工具,這時你安裝C/C++ for visual studio code (intellisense)即可,(當然,前提是gdb已經安裝了)。
然後,在程序中斷處打上斷點,點擊左邊的Debug,(Ctrl+Shift+D),就可以開始運行程序
visual sutudio code 會調用gdb來進行相關調試。
順便給一下那個配置文件,(打開文件夾後修改launch.json中的要調試的程序的名稱 "program": "test", 如果找不到就寫全路徑,如"program": ""/home/spacesoftwares/testproject/test")
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "test",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
Latex
sudo apt-get install texlive-full; or, sudo apt-get install texlive
sudo apt-get install texmaker
下面列出的都是收費的,這裏專爲免費用戶列出來是避免安裝又卸載,擔誤時間!
Master PDF editor
這個廣告很強大,到處佔搜索資源。編輯會不斷強制加水印(不是加一層,而是一層又一層,所以不交費是沒法用的)