Class function autocomplete
See original GitHub issueWhen accepting autocomplete for an override function, the func keyword gets added twice, resulting in broken code.
e.g. with this code:
class Foobar: UIViewController {
func vie
}
and having the cursor after func vie and choosing viewDidAppear(_ animated: Bool) results in the following code:
class Foobar: UIViewController {
func override func viewDidAppear(_ animated: Bool) {
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
vscode autocomplete class functions - python - Stack Overflow
Is there a way to make VSCODE autocomplete class functions in python? when I create the constructor it works but if I simply...
Read more >Using Class Completion - RAD Studio - Embarcadero DocWiki
Class completion automates the definition of new classes by generating skeleton code for Delphi class members that you declare. The shortcut key for...
Read more >Plugin.AutoComplete Class - YUI Library - GitHub Pages
An array of classes (constructor functions), making up the class hierarchy for this object. This value is cached the first time the method,...
Read more >Autocomplete doesn't work on type-hinted module classes as ...
VSCode doesn't auto-complete the type-hinted function paramater, when you type hint it as module.class such as the enum.Enum as shown below.
Read more >Customize Code Suggestions and Completions - MathWorks
To customize code suggestions and completions for your functions and classes, provide MATLAB ® with information about your function signatures.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@rudedogg great to hear! And as it solved your issues: I just released 2.3.0.
@vknabel Sorry for the really late reply. Electron apps are laggy for some reason on my Hackintosh, but new graphics drivers were released so VS Code is running a lot better.
I tried the 2.3.0 VSIX release you linked, and it fixes the double dot (
..) issue when accepting a completion candidate 🎉 !In case it helps debug that issue, here’s my setup: macOS 10.13.4, VS Code 1.21.1, project targeting macOS 10.10 (https://github.com/akhilcb/ACBTokenField)