summary refs log tree commit diff stats
path: root/compiler/suggest.nim
Commit message (Collapse)AuthorAgeFilesLines
* new gensym handling (#11985)Andreas Rumpf2019-08-231-3/+3
| | | | | | | | | | | * new .gensym implementation * make astspec test green again * introduce a --useVersion switch to group compatibility switches * fixes #10180 * fixes #11494 * fixes #11483 * object constructor fields and named parameters are also not gensym'ed * disabled broken package
* fixes 'unused module' feature for 32 bit builds of Nim for good [nobackport]Araq2019-08-091-2/+2
|
* [refactoring] compiler: simplified markUsedAndreas Rumpf2019-08-081-2/+2
|
* fixes #11809Andreas Rumpf2019-08-081-1/+2
|
* Merge branch 'devel' into araq-detect-unused-importsAndreas Rumpf2019-07-181-2/+2
|\
| * [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-2/+2
| |
* | [feature] detect unused importsAraq2019-07-171-1/+16
|/
* minor style changesAraq2019-07-111-1/+1
|
* nim styleChecker: implemented all the missing features (bugfix)Araq2019-07-101-1/+3
|
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-3/+3
|
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-3/+3
|
* Less warnings in macros (#10799)Arne Döring2019-03-111-4/+0
|
* make nimsuggest aware of tyOwnedAndreas Rumpf2019-02-251-1/+1
|
* 32 bit fixes (#10608)Arne Döring2019-02-131-1/+1
|
* compiler/[msgs, suggest]: improve highlighter accuracy (#10496)alaviss2019-02-071-2/+37
| | | | | | | | | | Previously the compiler would generate suggestions based on the symbol identifier length, but that might not reflect the actual representation of it within the actual source code. This commit implements a simple source scanner for the suggest module to address the problem outlined above. Fixes nim-lang/nimsuggest#24
* suggest: quote operators and keywords on suggestion (#10460)alaviss2019-01-281-2/+6
|
* {.deprecated: msg.} now works for vars and lets (#10234)Neelesh Chandola2019-01-081-2/+6
|
* Deprecate gc v2 (#10151)Neelesh Chandola2019-01-011-2/+2
| | | | | | * Deprecate gc v2 * warnDeprecated now has custom messages
* Before showing deprecated warning, check whether enum field was marked ↵Neelesh Chandola2018-12-301-2/+2
| | | | deprecated or the whole enum type (#10135)
* Show deprecation warning for fields of a deprecated enum (#10112)Neelesh Chandola2018-12-301-3/+8
| | | | | | * Show deprecation warning for fields of a deprecated enum * Add test
* make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵Andreas Rumpf2018-11-071-2/+2
| | | | switch -d:leanCompiler; useful for the Raberry PI
* .error for routines now can also have a custom error message; improve error ↵Araq2018-09-251-11/+20
| | | | message for 'nil' strings
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-2/+2
| | | | between modules
* make nimsuggest compile againAndreas Rumpf2018-08-231-1/+1
|
* fixes merge conflictAraq2018-08-231-7/+16
|\
| * More robust handling of deprecated pragmas (#8696)LemonBoy2018-08-211-7/+16
| | | | | | | | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867
* | even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-1/+1
|/
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-1/+1
|
* ensure compiler API doesn't import the RST engineAndreas Rumpf2018-05-291-2/+2
|
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-77/+52
|
* preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-2/+2
|
* remove ast.emptyNode global; cleanup configuration.nimAraq2018-05-161-1/+1
|
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-24/+24
|
* make nimsuggest compile againAndreas Rumpf2018-05-131-9/+9
|
* sigmatch compiles againAndreas Rumpf2018-05-111-18/+18
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-2/+2
| | | | uint16; fixes #7654
* the .deprecated pragma for procs now supports a user-definable deprecation ↵Andreas Rumpf2018-02-021-1/+13
| | | | message
* preparations for language extensions: 'sink' and 'lent' typesAndreas Rumpf2018-01-071-4/+4
|
* nimsuggest: suggest types in a type sectionAndreas Rumpf2017-03-141-2/+2
|
* nimsuggest: special rule for 'of' completion in case statementsAndreas Rumpf2017-03-101-0/+6
|
* nimsuggest: maxresults limit; fixed local symbol usages priorizationsAndreas Rumpf2017-03-101-47/+42
|
* nimsuggest: more things workAraq2017-03-091-8/+20
|
* nimsuggest: more precise cursor trackingAraq2017-03-091-47/+8
|
* nimsuggest: revert cpFuzzy bailoutsAndreas Rumpf2017-03-091-21/+21
|
* bugfix: consider type contexts properlyAraq2017-03-081-33/+41
|
* nimsuggest: chk checks the full project lazily; much better suggestions ↵Andreas Rumpf2017-03-081-47/+94
| | | | orderings
* make some tests greenAndreas Rumpf2017-03-071-2/+3
|
* nimsuggest: better ordering of symbols (part 1)Andreas Rumpf2017-03-071-35/+59
|
* nimsuggest: minor doc additionAndreas Rumpf2017-03-031-0/+2
|
* nimsuggest: structured error reporting; EPC mode still failsAndreas Rumpf2017-03-031-4/+3
|