3 ms·
I have to step in here to correct a few completely false statements. > And don't get me started about the Pascal language it uses... There is absolutely no act
by vintagedave 9y ago
I have to step in here to correct a few completely false statements.
> And don't get me started about the Pascal language it uses... There is absolutely no actual help on the Internet. Forget StackOverflow, some old German forums is all there is.
> And it forces you to have some kind of Header section in the file were you declare fields and Methods that you want to implement. If you want to quickly rename or change some parameter you have to Scroll All the way up...
There is /plenty/ of help online and SO. In fact, for some topics (eg raw WinAPI programming) you will often find /more/ help, articles, or blogs using Delphi than in other languages, including C++.
As for a header: yes, you define a class and its methods, and implement it, separately. I'm guessing you're not used to languages where this is the norm? That's quite ok, but don't knock it :) FWIW, just turn on "Sync Prototypes" and when you modify a method, the declaration for it changes too, and vice versa.
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Code_Editor#Synchronizing_Prototypes http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Code_Edito...
There are also other IDE features, such as a shortcut to autocreate methods you declare (Ctrl+Shift+C, "class completion".) Type a new method in the interface, press it, it exists. Use Ctrl+Shift+Up or Down to move between the interface and implementation of the method(s), too. If you are scrolling, that is a more efficient way to navigate ;) Or you could use the shortcuts in the editor toolbar, listing methods/classes etc etc, if you prefer mouse interaction.
If you're a keyboard user vs mouse, mainly, check out some of the keyboard shortcuts: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Default_Keyboard_Shortcuts#Code_Editor_Keyboard_Shortcuts http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Default_Ke...
I have no idea what you mean re "proper" syntax highlighting. It does indeed highlight. The main thing I know of that GExperts modifies here is changing the colour of block keywords as it indents, and Delphi does that through a block indicator line in the editor, instead.
- Double_a_92 9y agoThe problem is that the shortcuts don't work (as expected) half of the time for some reasons... So I stopped relying on them. As "proper" syntax highligtting I mean things such as highlighting every occurrance of a clicked variable, and maybe some color. The default prints "begin" and "end" blue and adds some lines to control structures... wow. ._. I'm using CNPack for that now.