Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ and code completion

Is there any way to improve code completion in notepad++?

Currently it supports some kind of "static" code completion and it requires to make a list of instructions and they parameters in xml file or it works on a list of words in open document. I`m looking for something that can read *.h files and make that list automatically and also use variables and functions from current file.

like image 891
klew Avatar asked Jan 27 '09 19:01

klew


People also ask

Does Notepad ++ have code completion?

Notepad++ offers automatic completion of various sorts of text after you have entered an initial substring (or prefix), which can save you having to type all of a long word (and potentially save you mistyping it).

How do you do code completion?

Press Ctrl+Alt+S to open the IDE settings and select Editor | General | Code Completion. Under Machine Learning-Assisted Completion, enable the Sort completion suggestions based on machine learning option, and select the languages for which you want to use ML completion.

How does code completion work?

Intelligent code completion uses an automatically generated in-memory database of classes, variable names, and other constructs that given computer code defines or references.


2 Answers

You have some code completion sections to look at here. But i would mainly suggest you change to an IDE for the programming language because Notepad++ doesn't have any of the benefits you find in a Real IDE. ( Maybe because it's a text-editor and not an IDE ).

like image 50
Filip Ekberg Avatar answered Sep 29 '22 13:09

Filip Ekberg


You don’t need a plugin at all. On the main menu go to Settings->Preferences. Then head on over to the Backup/Auto-Completion tab. Check the box labeled “Enable auto-completion on each input” and select the “Word completion” option.

like image 21
Fernando Vezzali Avatar answered Sep 29 '22 13:09

Fernando Vezzali