1 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
2 |
DENIED
|
moderate
|
App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
}
0 => App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
} |
|
Show voter details
|
3 |
DENIED
|
edit
|
App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
}
0 => App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
} |
|
Show voter details
|
4 |
DENIED
|
moderate
|
App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
}
0 => App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
} |
|
Show voter details
|
5 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
6 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611}
0 => App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
} |
|
Show voter details
|
7 |
DENIED
|
edit
|
App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611}
0 => App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
} |
|
Show voter details
|
8 |
DENIED
|
moderate
|
App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611}
0 => App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
} |
|
Show voter details
|
9 |
DENIED
|
ROLE_USER
|
null |
|
Show voter details
|
10 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
}
0 => App\Entity\EntryComment {#2459}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
} |
|
Show voter details
|
11 |
DENIED
|
edit
|
App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
}
0 => App\Entity\EntryComment {#2459}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
} |
|
Show voter details
|
12 |
DENIED
|
moderate
|
App\Entity\EntryComment {#2459
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696
+user: App\Entity\User {#265 …}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+domain: Proxies\__CG__\App\Entity\Domain {#1667 …}
+slug: "I-remember-why-I-stopped-using-Geany-text-editor-comment"
+title: "I remember why I stopped using Geany text editor: comment toggling not as expected"
+url: null
+body: """
Since [Geany 2.0 has recently been released](https://www.geany.org/documentation/releasenotes/) I decided to switch back to it from Kate. I used to like Geany but it had some problems I couldn’t quite remember.\n
\n
So I quickly remembered the problem. I can’t figure out how to configure it to properly comment and comment blocks of code. Say you have the following in a file of type `shell script`:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;"># a comment\n
</span><span style="color:#323232;">\t</span><span style="color:#62a35c;">echo </span><span style="color:#323232;">$variable\n
</span>\n
```\n
\n
I want to be able to select the above lines and use a keybinding to comment them out, so the result would be:\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">## a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Comment Lines` works as anticipated.\n
\n
But if I decide I want the lines back, how do that with the same keybinding? Using `Comment Lines` again adds a second level of comments, which is what I would expect (but not what I want):\n
\n
```\n
\n
<span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">### a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">##echo $variable\n
</span>\n
```\n
\n
`Edit` > `Format` > `Toggle Line Commentation` works and the file returns to the original state. But if you reselect the original lines and run it again, you get\n
\n
```\n
\n
<span style="color:#323232;">\t a comment\n
</span><span style="color:#323232;">\t</span><span style="font-style:italic;color:#969896;">#echo $variable\n
</span>\n
```\n
\n
Which would obviously lead to unpredictable results.\n
\n
There doesn’t seem to be a way for Geany to look at the block of text and decide whether it should be *commented* or *uncommented* and act accordingly.\n
\n
Kate editor has this functionality in `Selection` > `Toggle Comment` as do other editors I’ve encountered. If there is a mix of commented and uncommented text, it will *never* remove comments. It only removes comments when the entire block has commenting, and then it removes only 1 level of comments. Perfect. Of course if you really want to force the matter, there are the more aggressive `Comment` and `Uncomment`.\n
\n
Using the Geany `Toggle Line Commentation` leads to strange results, especially if you are starting with multiple levels of comments. Is there a way to duplicate the standard comment toggle in Geany? I tried to train myself to use `Comment Line(s)` and `Uncomment Lines(s)` instead of a single command but I just made a lot of mistakes where I didn’t realize there were multiple levels of comments or whatever and things became uncommented that shouldn’t have and it created a giant mess.\n
\n
I’m not a professional IT person, just someone who enjoys text files in their spare time. I do a lot of commenting and uncommenting trying to find out how things work. I thought it was a pretty normal thing to do. There must be a way to do it right?\n
\n
I recall digging around a bunch in the Geany repo/docs and it ended up that some problem I was having was a limitation of the Scintilla lexer and there wasn’t much Geany could do about it. But I am not sure if it was this issue or something else.
"""
+type: "article"
+lang: "en"
+isOc: false
+hasEmbed: false
+commentCount: 9
+favouriteCount: 17
+score: 0
+isAdult: false
+sticky: false
+lastActive: DateTime @1699840939 {#1660
date: 2023-11-13 03:02:19.0 +01:00
}
+ip: null
+adaAmount: 0
+tags: null
+mentions: null
+comments: Doctrine\ORM\PersistentCollection {#1668 …}
+votes: Doctrine\ORM\PersistentCollection {#1679 …}
+reports: Doctrine\ORM\PersistentCollection {#1652 …}
+favourites: Doctrine\ORM\PersistentCollection {#1549 …}
+notifications: Doctrine\ORM\PersistentCollection {#1573 …}
+badges: Doctrine\ORM\PersistentCollection {#1566 …}
+children: [
1 => App\Entity\EntryComment {#1611
+user: App\Entity\User {#265 …}
+entry: App\Entity\Entry {#1696}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: """
Is it a bug?\n
\n
Or user error?\n
\n
How could a text editor not have this feature?\n
\n
Or am i editing wrong?
"""
+lang: "en"
+isAdult: false
+favouriteCount: 1
+score: 0
+lastActive: DateTime @1699716333 {#1555
date: 2023-11-11 16:25:33.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
]
+children: Doctrine\ORM\PersistentCollection {#1741 …}
+nested: Doctrine\ORM\PersistentCollection {#1716 …}
+votes: Doctrine\ORM\PersistentCollection {#1718 …}
+reports: Doctrine\ORM\PersistentCollection {#1715 …}
+favourites: Doctrine\ORM\PersistentCollection {#2447 …}
+notifications: Doctrine\ORM\PersistentCollection {#2464 …}
-id: 111520
-bodyTs: "'bug':4 'could':9 'edit':20 'editor':12 'error':7 'featur':16 'text':11 'user':6 'wrong':21"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1617330"
+editedAt: DateTimeImmutable @1699832773 {#1565
date: 2023-11-13 00:46:13.0 +01:00
}
+createdAt: DateTimeImmutable @1699716333 {#1562
date: 2023-11-11 16:25:33.0 +01:00
}
+"title": 111520
}
0 => App\Entity\EntryComment {#2459}
]
-id: 11968
-titleTs: "'comment':10 'editor':9 'expect':14 'geani':7 'rememb':2 'stop':5 'text':8 'toggl':11 'use':6"
-bodyTs: "'/documentation/releasenotes/)':10 '1':262 '2.0':3 'abl':78 'accord':215 'act':214 'add':128 'aggress':281 'anticip':107 'around':425 'back':15,116 'becam':359 'block':55,201,254 'bunch':427 'code':57 'command':335 'comment':52,54,71,89,98,103,125,133,146,153,177,210,224,238,246,250,256,265,282,290,304,313,324,354,393 'configur':48 'could':455 'couldn':31 'cours':268 'creat':367 'decid':12,111,205 'didn':346 'dig':424 'doesn':188 'duplic':310 'echo':72,99,147,178 'edit':101,149 'editor':217,228 'els':471 'encount':231 'end':434 'enjoy':381 'entir':253 'especi':295 'expect':139 'figur':44 'file':65,157,383 'find':398 'follow':62 'forc':274 'format':102,150 'function':220 'geani':2,24,196,287,316,430,454 'get':175 'giant':369 'instead':331 'issu':468 'kate':19,216 'keybind':87,123 'lead':183,291 'level':131,263,302,352 'lexer':448 'like':23 'limit':444 'line':83,104,115,126,152,169,289,325,329 'look':198 'lot':341,391 'm':372 'made':339 'matter':276 'mess':370 'mistak':343 'mix':236 'much':453 'multipl':301,351 'must':414 'never':244 'normal':409 'obvious':182 'origin':161,168 'perfect':266 'person':377 'pretti':408 'problem':29,40,438 'profession':375 'proper':51 'quick':37 'quit':33 'realiz':348 'realli':271 'recal':423 'recent':5 'releas':7 'rememb':34,38 'remov':245,249,260 'repo/docs':431 'reselect':166 'result':94,186,294 'return':158 'right':421 'run':171 'say':58 'scintilla':447 'script':69 'second':130 'seem':190 'select':80,222 'shell':68 'shouldn':362 'sinc':1 'singl':334 'someon':379 'someth':470 'spare':386 'standard':312 'start':299 'state':162 'strang':293 'sure':463 'switch':14 'text':203,241,382 'thing':358,401,410 'thought':404 'time':387 'toggl':151,223,288,314 'train':320 'tri':318,396 'type':67 'uncom':212,240,284,328,360,395 'unpredict':185 'use':21,85,124,285,323 'variabl':73,100,148,179 've':230 'want':75,113,144,272 'wasn':451 'way':194,308,417 'whatev':356 'whether':206 'work':105,154,402 'would':95,138,181 'www.geany.org':9 'www.geany.org/documentation/releasenotes/)':8"
+cross: false
+upVotes: 0
+downVotes: 0
+ranking: 1699773978
+visibility: "visible "
+apId: "https://beehaw.org/post/9470604"
+editedAt: null
+createdAt: DateTimeImmutable @1699704478 {#1421
date: 2023-11-11 13:07:58.0 +01:00
}
}
+magazine: Proxies\__CG__\App\Entity\Magazine {#1583 …}
+image: null
+parent: Proxies\__CG__\App\Entity\EntryComment {#2454 …}
+root: Proxies\__CG__\App\Entity\EntryComment {#1740 …}
+body: "I mean in theory someone else might know the answer… I don’t want to bother the developers with every little problem. They are already busy making the software. I try to treat the developers with respect by reaching out to others for something like this. I do not know if there is a problem with the application. If someone else who uses the software would mention if they have this problem, or a different work style, or make a workaround. Possibly running the text through a script could do it? Maybe it is buried in one of the ambiguously named plugins."
+lang: "en"
+isAdult: false
+favouriteCount: 2
+score: 0
+lastActive: DateTime @1699739084 {#1618
date: 2023-11-11 22:44:44.0 +01:00
}
+ip: null
+tags: null
+mentions: [
"@crank@beehaw.org"
"@aperson@beehaw.org"
"@magikmw@lemm.ee"
]
+children: Doctrine\ORM\PersistentCollection {#2453 …}
+nested: Doctrine\ORM\PersistentCollection {#2468 …}
+votes: Doctrine\ORM\PersistentCollection {#2469 …}
+reports: Doctrine\ORM\PersistentCollection {#2471 …}
+favourites: Doctrine\ORM\PersistentCollection {#2363 …}
+notifications: Doctrine\ORM\PersistentCollection {#2377 …}
-id: 113152
-bodyTs: "'alreadi':25 'ambigu':100 'answer':10 'applic':58 'bother':16 'buri':95 'busi':26 'could':89 'develop':18,35 'differ':75 'els':6,61 'everi':20 'know':8,50 'like':45 'littl':21 'make':27,79 'mayb':92 'mean':2 'mention':67 'might':7 'name':101 'one':97 'other':42 'plugin':102 'possibl':82 'problem':22,55,72 'reach':39 'respect':37 'run':83 'script':88 'softwar':29,65 'someon':5,60 'someth':44 'style':77 'text':85 'theori':4 'treat':33 'tri':31 'use':63 'want':14 'work':76 'workaround':81 'would':66"
+ranking: 0
+commentCount: 0
+upVotes: 0
+downVotes: 0
+visibility: "visible "
+apId: "https://beehaw.org/comment/1619414"
+editedAt: null
+createdAt: DateTimeImmutable @1699739084 {#2455
date: 2023-11-11 22:44:44.0 +01:00
}
+"title": 113152
} |
|
Show voter details
|
13 |
DENIED
|
ROLE_ADMIN
|
null |
|
Show voter details
|
14 |
DENIED
|
ROLE_MODERATOR
|
null |
|
Show voter details
|