The question is of course stupid. I write at work on FoxPro. There is a syntax. At home, I write in PHP in NotePad ++ editor. But after 6 hours on FoxPro, I sometimes forget to put ";" (semicolon) at the end of the command line. You can somehow “teach” NotePad ++ to automatically set a semicolon if I write php-code (java). And if this can be done, is it possible to somehow “teach” NotePad ++ to highlight variables without a “$” in the beginning. And sometimes I also forget to write. Just then I lose a lot of time on the debugging of the code due to such mechanical errors. Thanks if you help.

  • In PHP, operators can be multiline, and ";" at the end of each line you certainly will not be happy. A plugin full parser in NPP hardly anyone was honored. The same applies to the need to distinguish the names of variables from the names of other program elements. - Akina
  • если я пишу php-код (java) - here I didn’t understand what java is for? - ilyaplot

1 answer 1

Notepad ++ is not an IDE, but simply an extended notepad.
You can separate the semicolons with regular expressions and replacing text. If code verification (parsing) is required during development, use an IDE. Eclipse, Netbeans, JetBrains products or something else. They perfectly highlight errors.