Skip to content

Commit ccc167a

Browse files
committed
Update readme.
1 parent c2adb69 commit ccc167a

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ Features:
3535
- Generics;
3636
- Lambdas;
3737
- Annotations completion;
38-
- Nested classes.
38+
- Nested classes;
39+
- Jsp support, without taglibs.
3940

4041
Features (originally existed):
4142
- List members of a class, including (static) fields, (static) methods and ctors;
4243
- List classes or subpackages of a package;
4344
- Provide parameters information of a method, list all overload methods;
4445
- Complete an incomplete word;
4546
- Provide a complete JAVA parser written in Vim script language;
46-
- Use the JVM to obtain most information;
47-
- JSP is supported, Builtin objects such as request, session can be recognized.
47+
- Use the JVM to obtain most information.
4848

4949
Features borrowed and ported to vimscript from vim-javacompleteex:
5050
- Complete class name;
@@ -95,9 +95,13 @@ Add this to your `.vimrc` file:
9595

9696
To enable inserting class imports with F4, add:
9797

98-
`nnoremap <F4> :JCimportAdd<cr>`
98+
`imap <F4> <Plug>(JavaComplete-Imports-Add)`
9999

100-
`inoremap <F4> <esc>:JCimportAddI<cr>`
100+
`imap <F4> <Plug>(JavaComplete-Imports-RemoveUnused)`
101+
102+
`nmap <F4> <Plug>(JavaComplete-Imports-Add)`
103+
104+
`nmap <F4> <Plug>(JavaComplete-Imports-RemoveUnused)`
101105

102106
### Optional
103107

@@ -155,7 +159,7 @@ To enable inserting class imports with F4, add:
155159
- Cross session cache;
156160
- Most used (classes, methods, vars) at first place (smart suggestions);
157161
- FXML support;
158-
- Check for jsp support;
162+
- ~~Check for jsp support~~;
159163
- Refactoring support?;
160164
- Class creation helpers;
161165
- ~~Generics~~;

0 commit comments

Comments
 (0)