projman/README.md

145 lines
3.4 KiB
Markdown

## About
ProjMan (aka "Tcl/Tk Project Manager") is a editor for programming in TCL/Tk (and other language).
It includes a file manager, a source editor with syntax highlighting and code navigation, a context-sensitive help system, Git support, and much more.
Working an Linux and Windows.
## Support languages
Highlightning and source code navigation:
* Tcl/Tk
* GO
* Perl
* Python
* Ruby
* Shell (BASH)
* Markdown
* YAML (Ansible support)
* Lua
Highlightning:
* HTML
* XML
## Requirements
For UNIX-like OS
Tcl/Tk >= 8.6 http://tcl.tk
tcllib, tklib
## Screenshots
- Navigation the source code structure
![projman-1.png](https://nuk-svk.ru/images/projman/projman-1.png)
- Hints when entering names of variables and procedures
![projman-2.png](https://nuk-svk.ru/images/projman/projman-2.png)
- Searching for a variable definition in ansible files
![projman-ansible-1.png](https://nuk-svk.ru/images/projman/projman-ansible-1.png)
- Navigation the ansible source code structure
![projman-ansible-2.png](https://nuk-svk.ru/images/projman/projman-ansible-2.png)
- Navigation the markdown source code structure
![projman-md-1.png](https://nuk-svk.ru/images/projman/projman-md-1.png)
- Git dialog (commit history)
![projman-git-1.png](https://nuk-svk.ru/images/projman/projman-git-1.png)
- Git dialog (changes)
![projman-git-2.png](https://nuk-svk.ru/images/projman/projman-git-2.png)
## Getting source code
Download the source code archive https://git.nuk-svk.ru/svk/projman/archive/master.tar.gz
Or use git:
```
git clone https://git.nuk-svk.ru/svk/projman.git
```
## Build package
```
cd projman/debian/
./build-deb-projman.sh
cd projman/redhat/
./build-rpm-projman.sh
```
## Install
Use package manager for you system:
Debian ```sudo dpkg -i projman_2.0.0-alpha_amd64.deb```
Redhat ```sudo rpm -Uhv projman_2.0.0-alpha_amd64.rpm```
## Usage
Running command (need full path to the each file or folder):
Open files
```
projman ~/tmp/test.tcl ~/tmp/2.go ...
```
Open folders
```
projman ~/projects/projman ...
```
Or type "projman" into terminal, Or choose the name of the program "Projman" on the Start menu.
### Keyboard shortcut
- Ctrl-N - Create new file
- Ctrl-O - Open file
- Ctrl-W - Close editor (file)
- Ctrl-K - Open folder
- Ctrl-Q - Quit from ProjMan
- Ctrl-J - Show procedures (functions) list for navigation in open editor
- Ctrl-L - Find and display files where the variable is defined, the name of which is located under the cursor in the editor
- Ctrl-F - Search text in open editor
- Ctrl-[ - Move the line (or selected lines) one position (see config tabSize=4) to the right
- Ctrl-] - Move the line (or selected lines) one position to the left
- Ctrl-, - Comment the line (or selected lines)
- Ctrl-. - Uncomment the line (or selected lines)
- Ctrl-I - Insert base64 encoded image into edited text
- Ctrl-G - Go to line dialog
- Ctrl-C - Copy selected text into buffer
- Ctrl-V - Paste text from buffer
- Alt-P - Show/Hide the file tree panel
- Alt-W - Delete the current word
- Alt-E - Delete text from current position to end of line
- Alt-B - Delete text from current position to begin of line
- Alt-R - Delete current line
- Alt-Y - Copy current line into buffer
- Alt-S - Split the edited window horizontally
## Credits
Sergey Kalinin - author
svk@nuk-svk.ru
http://nuk-svk.ru
Laurent Riesterer - VisualREGEXP and TkDIFF+ parts
laurent.riesterer@free.fr
http://laurent.riesterer.free.fr