Merge branch 'master' into newparser
This commit is contained in:
commit
9fc98cefda
18 changed files with 196 additions and 69 deletions
7
tests/caas/compile-suggest.txt
Normal file
7
tests/caas/compile-suggest.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
main.nim
|
||||
> c
|
||||
SuccessX
|
||||
> idetools --trackDirty:main_dirty.nim,main.nim,12,7 --suggest main.nim
|
||||
skField\tx
|
||||
skField\ty
|
||||
|
||||
10
tests/caas/def-def-compile.txt
Normal file
10
tests/caas/def-def-compile.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
main.nim
|
||||
> idetools --track:main.nim,5,18 --def main.nim
|
||||
strutils.toUpper
|
||||
SuccessX
|
||||
> idetools --track:main.nim,5,18 --def main.nim
|
||||
strutils.toUpper
|
||||
SuccessX
|
||||
> c
|
||||
SuccessX
|
||||
|
||||
14
tests/caas/main_dirty.nim
Normal file
14
tests/caas/main_dirty.nim
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import imported, strutils
|
||||
|
||||
type
|
||||
TFoo = object
|
||||
x: int
|
||||
y: string
|
||||
|
||||
proc main =
|
||||
var t1 = "text"
|
||||
var t2 = t1.toUpper
|
||||
var foo = TFoo(x: 10, y: "test")
|
||||
foo.
|
||||
echo(t1 +++ t2)
|
||||
|
||||
7
tests/caas/suggest-compile.txt
Normal file
7
tests/caas/suggest-compile.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
main.nim
|
||||
> idetools --trackDirty:main_dirty.nim,main.nim,12,7 --suggest main.nim
|
||||
skField\tx
|
||||
skField\ty
|
||||
> c
|
||||
SuccessX
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue