Adding new stuff
This commit is contained in:
parent
39ee792ad4
commit
a410da0e04
722 changed files with 331 additions and 189 deletions
22
vim-plugins/bundle/eclim/doc/vim/scala/complete.txt
Normal file
22
vim-plugins/bundle/eclim/doc/vim/scala/complete.txt
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
*vim-scala-complete.html*
|
||||
|
||||
Scala Code Completion
|
||||
*********************
|
||||
|
||||
Scala code completion uses the standard Vim code completion mechanism
|
||||
(vim-code_completion) like so:
|
||||
|
||||
>
|
||||
|
||||
package eclim.test
|
||||
|
||||
class Test {
|
||||
def test(){
|
||||
val list = List("foo", "bar", "baz")
|
||||
list.s<C-X><C-U>
|
||||
}
|
||||
}
|
||||
|
||||
<
|
||||
|
||||
vim:ft=eclimhelp
|
||||
35
vim-plugins/bundle/eclim/doc/vim/scala/import.txt
Normal file
35
vim-plugins/bundle/eclim/doc/vim/scala/import.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
*vim-scala-import.html*
|
||||
|
||||
*:ScalaImport*
|
||||
|
||||
|
||||
Automated Imports
|
||||
*****************
|
||||
|
||||
The automated import functionality is pretty straightforward. Simply
|
||||
place the cursor over the element to import and issue the command:
|
||||
|
||||
:ScalaImport
|
||||
|
||||
and one of the following events will occur:
|
||||
|
||||
- If only one matching element is found, its import statement will
|
||||
be placed in the file.
|
||||
- If multiple matching elements are found, you will be prompted to
|
||||
choose the element you wish to import from a list.
|
||||
- If an element with the same name is already imported then no
|
||||
changes will occur.
|
||||
Note: Like the scala-ide (as of the time of this writting), imports
|
||||
are simply appended to the end of your file's import block. There is
|
||||
no attempt made to sort or group imports.
|
||||
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
Eclim Settings (vim-settings)
|
||||
|
||||
- |org.eclim.java.import.exclude| - Scala importing honors the java
|
||||
import exclussion setting.
|
||||
|
||||
vim:ft=eclimhelp
|
||||
11
vim-plugins/bundle/eclim/doc/vim/scala/index.txt
Normal file
11
vim-plugins/bundle/eclim/doc/vim/scala/index.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
*vim-scala-index.html*
|
||||
|
||||
Scala
|
||||
*****
|
||||
|
||||
- Scala Code Completion (vim-scala-complete)
|
||||
- Scala Validation (vim-scala-validate)
|
||||
- Scala Search (vim-scala-search)
|
||||
- Automated Imports (vim-scala-import)
|
||||
|
||||
vim:ft=eclimhelp
|
||||
51
vim-plugins/bundle/eclim/doc/vim/scala/search.txt
Normal file
51
vim-plugins/bundle/eclim/doc/vim/scala/search.txt
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
*vim-scala-search.html*
|
||||
|
||||
*:ScalaSearch*
|
||||
|
||||
|
||||
Scala Search
|
||||
************
|
||||
|
||||
Eclim's scala searching currently supports searching for the
|
||||
definition of the element under the cursor. Simply place the cursor on
|
||||
the element you wish to search for and run :ScalaSearch. If the
|
||||
definition of the element is found, the corresponding file will be
|
||||
opened and the cursor placed on the element's definition. The command
|
||||
used to open the result can be defined usin the
|
||||
|g:EclimScalaSearchSingleResult| variable or on a per search basis by
|
||||
supplying the -a <action> arg:
|
||||
|
||||
>
|
||||
|
||||
:ScalaSearch -a edit
|
||||
|
||||
<
|
||||
|
||||
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
Vim Settings (vim-settings)
|
||||
|
||||
*g:EclimScalaSearchSingleResult*
|
||||
|
||||
- g:EclimScalaSearchSingleResult (Default: 'split') - Determines
|
||||
what action to take when a only a single result is found.
|
||||
Possible values include:
|
||||
|
||||
- 'split' - open the result in a new window via "split".
|
||||
- 'edit' - open the result in the current window.
|
||||
- 'tabnew' - open the result in a new tab.
|
||||
This setting overrides the global default for all supported language
|
||||
types which can be set using the g:EclimDefaultFileOpenAction
|
||||
setting which accepts the same possible values.
|
||||
|
||||
- g:EclimQuickFixOpen (Default: 'botright copen') Specifies the
|
||||
command used to open the quickfix window when multiple results are
|
||||
found.
|
||||
- g:EclimQuickFixHeight (Default: 10) - Sets the height, in lines,
|
||||
of the quickfix window when eclim opens it to display search
|
||||
results.
|
||||
|
||||
vim:ft=eclimhelp
|
||||
35
vim-plugins/bundle/eclim/doc/vim/scala/validate.txt
Normal file
35
vim-plugins/bundle/eclim/doc/vim/scala/validate.txt
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
*vim-scala-validate.html*
|
||||
|
||||
*:Validate_scala*
|
||||
|
||||
|
||||
Scala Validation
|
||||
****************
|
||||
|
||||
When saving a scala source file that resides in a project, eclim will
|
||||
update that source file in Eclipse and will report any validation
|
||||
errors found. Any errors will be placed in the current window's
|
||||
location list (:help location-list) and the corresponding lines in the
|
||||
source file will be marked via Vim's :sign functionality with '>>'
|
||||
markers in the left margin.
|
||||
|
||||
Automatic validation of scala source files can be disabled via the
|
||||
g:EclimScalaValidate variable (described below). If you choose to
|
||||
disable automatic validation, you can still use the :Validate command
|
||||
to manually validate the current file.
|
||||
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
Vim Settings (vim-settings)
|
||||
|
||||
*g:EclimScalaValidate*
|
||||
|
||||
- g:EclimScalaValidate (Default: 1) - If set to 0, disables source
|
||||
code validation.
|
||||
- g:EclimValidateSortResults (Default: 'occurrence') - If set to
|
||||
'severity', the validation results will be sorted by severity
|
||||
(errors > warnings > info > etc.)
|
||||
|
||||
vim:ft=eclimhelp
|
||||
Loading…
Add table
Add a link
Reference in a new issue