Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yodiaditya/vim-netbeans
Making your VIM like Netbeans for editing Python, PHP, HTML, JS and etc. It's support with Autocomplete, Check syntax error, Python debugger and many else.
https://github.com/yodiaditya/vim-netbeans
java netbeans vim
Last synced: 22 days ago
JSON representation
Making your VIM like Netbeans for editing Python, PHP, HTML, JS and etc. It's support with Autocomplete, Check syntax error, Python debugger and many else.
- Host: GitHub
- URL: https://github.com/yodiaditya/vim-netbeans
- Owner: yodiaditya
- Created: 2011-08-14T03:20:35.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2020-05-02T11:46:52.000Z (over 4 years ago)
- Last Synced: 2024-08-04T11:01:33.033Z (4 months ago)
- Topics: java, netbeans, vim
- Language: Vim script
- Homepage: https://yodiw.com
- Size: 162 KB
- Stars: 20
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-netbeans - Vim NetBeans - Making your VIM like Netbeans for editing Python, PHP, HTML, JS and etc. It's support with Autocomplete, Check syntax error, Python debugger and many else. (:electric_plug: Plugins <a name="plugins"></a> / Productivity)
README
VIM-Netbeans
=============use VIM as great as Netbeans for editing PHP, Python, JS, HTML, XML and many else filetype.
This have several great feature :
- Supported with NodeJS, Stylus, Less and many CSS/Javascript engine, template, parser
- Integrated with JavascriptLint for auto-checking syntax
- Have great Python checking and fast shortcut like `Shift - e` for execute current files
- Use Vundle for managing plugins
- `F8` for Browser files and Tags
- Check .vimrc to see many feature and goodies bagThis VIM is inspired by many great developers that share their custom VIM configuration.
Installing
-----------Go to your Command / Terminal :
cd ~/
git clone https://github.com/yodiaditya/vim-netbeans.git
ln -s ~/vim-netbeans/.vimrc ~/.vimrc
ln -s ~/vim-netbeans/.vim ~/.vim
git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
vim ~/.vimrcWhen opening .vimrc, do ":BundleInstall" to install all package and exit by :wq.
rm -rf ~/.vim/bundle/snipmate.vim/snippets
Change your TAB behaviour between PyDiction and Snipmate by follow this link :
http://stackoverflow.com/questions/1687252/with-vim-use-both-snipmate-and-pydiction-together-share-the-tab-key
But i prefer using CTRL+Space as Snipmate Completion. Here a how to make it :
`vim ~/.vim/bundle/snipmate.vim/after/plugin/snipMate.vim`
Edit start from line 15 :
"ino =TriggerSnippet()
"snor i=TriggerSnippet()
ino =TriggerSnippet()
snor i=TriggerSnippet()Dependencies
------------After do installing, you should go to VIM and do :BundleInstall. I use Vundle here which i use pathogen in the past development.
I use nodejs-snipmate and snipmate-snippets. To preventing crash between default snippets in Snipmate and others,
delete ~/.vim/bundle/snipmate.vim/snippets.
### A. Python Debugger like pyflakes, pylint and pep8
For installing Python debugger using PIP :
sudo apt-get install python-pip
sudo pip install git+git://github.com/kevinw/pyflakes.git
sudo pip install pylint
sudo pip install pep8Read .vimrc for magic keys and guide.
### B. Ctags
If you using Ubuntu, then can do this command :
`sudo apt-get install exuberant-ctags`
### C. JavascriptLint
This is powerfull Javascript syntax checker with quickfix.
Configuration for jsl.conf located in ~/.vim/jsl.conf.
Tips: You can change warning into '-ambiguous_newline' for disable newline checking (Jquery).
For *.js file, auto-checker work automatically after saving file.
For another filetype ( .php, .py, .rb, etc), you can press SHIFT+j for Javascript checker.
### C. Installing JSLint, Gjslint, JSHint
See my blog post here for installation :
[Installing JSlint, Jshint, Gjslint, Cssbeauty and many else](http://www.yodi.me/2011/09/20/top-javascript-checker-tools-that-must-used-by-front-end-developer/)
### E. Colorscheme
This VIM using Mustang as Colorscheme. If you use Yakuake for running VIM, then you should change your Yakuke for running 256-colors.
Usage
------
For using this custom VIM, here are some clue :1. Use Backspace as PageUp & Space as PageDown in normal mode
2. Use tab (insert mode) for autocomplete Python using PyDiction
3. Autocomplete every you type. Also you can use CTRL + Space for Snipmate Autocompletion
4. Move to another tab / buffer using CTRL+Arrow
5. Using NERDTree by :NERDTree or editing .vimrc to enable NERDTree automatically.
6. Using `F2` or t for FuzzFinder in Full Path or b for open Buffers
7. Press `F8` for enabling NERDTRee and Tagbar (Love it!)
8. Use `` space` for MRU
9. Use `Shift+e` for execute Python code
10. Use `Shift+n` for execute NodeJS code
11. Use `Shift+j` for checking javascript syntax in current file
12. Also check many goodies bag in .vimrcAuthor
-------
I'm using VIM and Netbeans for building many application on PHP, Javascript, NodeJS, Ruby and PythonI have a lot of blog which contains many information. You can check here :
- https://yodiw.com - Programming blog