Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
[SOLVED] Comment continuation?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Lazarus 4.0 and INT3 gets...
by
440bx
[
Today
at 06:00:11 am]
Serial port
by
Lauriet
[
Today
at 04:23:55 am]
Break program and debug
by
What I can do
[
Today
at 04:16:00 am]
Feature request/suggestio...
by
440bx
[
Today
at 02:27:30 am]
Automatically compiling d...
by
440bx
[
Today
at 02:24:03 am]
[SOLVED] How to define a ...
by
440bx
[
Today
at 02:14:21 am]
How to close a window whi...
by
n7800
[
Today
at 01:49:44 am]
Feature announcement: Fun...
by
munair
[
Today
at 01:26:22 am]
Feature Request/Suggestio...
by
440bx
[
Today
at 01:06:03 am]
A little bug in fpsimages...
by
Roni Wolf
[May 21, 2025, 11:51:57 pm]
64 bits and PascalScript
by
jamie
[May 21, 2025, 11:27:42 pm]
LAMW arduino serial comm ...
by
jmpessoa
[May 21, 2025, 11:21:46 pm]
Lazarus Release 4.0
by
dsiders
[May 21, 2025, 10:43:31 pm]
Anything more complicated...
by
440bx
[May 21, 2025, 10:21:48 pm]
How can I make an externa...
by
Sander
[May 21, 2025, 09:51:14 pm]
Database Locked Exception
by
cdbc
[May 21, 2025, 08:24:46 pm]
Learn how to (un)dock a T...
by
Hansvb
[May 21, 2025, 08:16:05 pm]
Certifying windows execut...
by
ASBzone
[May 21, 2025, 08:08:19 pm]
fpc 3.2.2 + win32api Call...
by
paule32
[May 21, 2025, 08:01:05 pm]
[SOLVED]Help: Need Advice...
by
TBMan
[May 21, 2025, 07:26:38 pm]
IDE crashes and takes so ...
by
Martin_fr
[May 21, 2025, 06:26:16 pm]
full featured Android Nat...
by
Handoko
[May 21, 2025, 06:21:06 pm]
Error trying to initializ...
by
silvercoder70
[May 21, 2025, 02:30:07 pm]
Unable to access the wiki
by
Aruna
[May 21, 2025, 01:36:51 pm]
Unexpected highlighted li...
by
Thaddy
[May 21, 2025, 11:30:15 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Comment continuation? (Read 381 times)
EganSolo
Sr. Member
Posts: 302
[SOLVED] Comment continuation?
«
on:
April 11, 2025, 09:47:55 pm »
I may be losing my mind or confusing IDEs ...
I thought there was a way to continue commenting by pressing Ctrl+Enter or something like that, no?
In case what I said doesn't make sense, consider this simple example:
Code: Pascal
[Select]
[+]
[-]
//This is a comment. I wish I could press Ctrl+Enter after the period, and have the next line start with two slashes ...
Thoughts?
«
Last Edit: April 11, 2025, 11:50:04 pm by EganSolo
»
Logged
Martin_fr
Administrator
Hero Member
Posts: 11171
Debugger - SynEdit - and more
Re: Comment continuation?
«
Reply #1 on:
April 11, 2025, 10:07:50 pm »
Menu: Tools > Options
Page: Editor > Tab and indent
There is a section "slash", and if you enable it, then comments will be continued when you press enter.
You can set up to continue, only if they match a certain pattern, or specific conditions.
Logged
From the wiki:
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
EganSolo
Sr. Member
Posts: 302
Re: [SOLVED] Comment continuation?
«
Reply #2 on:
April 11, 2025, 11:51:49 pm »
Thanks, Martin! I'm sane again!
Incidentally, I've had to choose the option "Extend if matched or not matched to make it work...
If you're knew to Laz IDE and are unfamiliar with the editor's options, you'll find it under the main Tools menu. I've added a snapshot of the area where you can enable this feature since it's tucked away and is easy to miss (at least for me!) ...
«
Last Edit: April 11, 2025, 11:58:24 pm by EganSolo
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Editor
»
[SOLVED] Comment continuation?
TinyPortal
© 2005-2018