Completions for unexported symbols#892
Conversation
|
Almost. What I had in mind would make this work for all symbols, not only unexported ones (which may or may not be a good idea :P). Basically to counteract people using This feels pretty good though, so I think we could get this in as-is (although it still needs a setting in the UI, right?). |
|
That feels a bit much for me personally but no reason to not include it as an option. Would we also want a project level action that applies that style retrospectively? Agree on merging this as is for now |
davidanthoff
left a comment
There was a problem hiding this comment.
Needs a review from @pfitzseb and a merge conflict resolution.
davidanthoff
left a comment
There was a problem hiding this comment.
Tests fail. Do we maybe need a tag for some dependency for this to work?
@pfitzseb, as we discussed the other day - is this what you meant?
EDIT - a description
Completions are now provided for symbols that are not exported by modules in the current namespace. These are only triggered when the partial string has length > 3. Two modes are provided where:
varfrom some modulemresults in the automatic inclusion of a using statementusing m: var. This is included at the start of the current root tree and will be attached to existingusing m:...if possible; orm.var)