Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
40 views

We can document code with backticks in JSdoc to see it styled like interpreted markdown when hovering over the definition: /** * This function is similar to `someFunction(foo)` */ function bar() { .....
Function's user avatar
-2 votes
1 answer
255 views

I want to add comments that depict the UI as part of its explanation. Before going on: Note that this is just an example, in most of the times, such drawing are needed to explain algorithms (A better ...
Juv's user avatar
  • 952
1 vote
0 answers
111 views

Currently, VSCode only recognizes JSDoc @typedef declarations in files that are open. For example, if I have a @typedef comment in a file that is NOT currently open in VSCode, VSCode thinks the type ...
user3163495's user avatar
  • 4,046
1 vote
1 answer
95 views

If I select all text in the SQL Developer and execute it, it works: select 16 cc, date '2025-03-05' coDate, 18 nr, 594.34 tvaInc, 1 cat from dual union all select 16 cc, date '2025-03-06' coDate, 22 ...
LegacyGrinder's user avatar
1 vote
2 answers
40 views

Looking for help as I'm trying to find a way to get a macro to find a specific word or phrase and, if found, apply a comment, if not found to move on to find the next word and apply comment. I want ...
Vivien Chong's user avatar
0 votes
0 answers
58 views

I’m trying to develop a custom integration where our backend system can interact with LinkedIn’s messaging and comment features — such as sending/receiving direct messages or posting/retrieving ...
ak0's user avatar
  • 1
2 votes
1 answer
113 views

I am creating a tool that transpiles a language that is pretty much OCaml to valid OCaml code. Now, I absolutely need to keep comments (in the correct places) when transpiling to OCaml. The problem is ...
João Nini's user avatar
0 votes
1 answer
74 views

I've been trying to figure this out, but no such luck. Ultimately, I'm trying to create a macro that searches the Word document for each instance of String1, selects a range of text starting with that ...
Joel Cooper's user avatar
0 votes
2 answers
119 views

I'm trying to lay out a text with a series of numbered comments that are part of the piece. As it is now, they're listed at the end of the text. Does anyone know the coding to have the text jump to ...
A. Scrima's user avatar
0 votes
0 answers
56 views

I’m working on a C project in Eclipse CDT and need to create clickable links between functions in comments (without leaving the editor). For example: c /* How to make this link clickable to jump to ...
jkon's user avatar
  • 191
2 votes
1 answer
94 views

Is there a way to copy paste into a cell comment? Can only do it from the clipboard, not from a cell or range reference. Or is there perhaps a vba way to call up the info in the clipboard and then ...
nickC's user avatar
  • 107
0 votes
1 answer
60 views

I wonder if I may use comments in between POSIX shell script's function name and its body? This appears not to throw any problem in shellcheck and runs in Dash / Bash, but searching for this ...
Vlastimil Burián's user avatar
0 votes
2 answers
129 views

Is there a spacemacs-y way to comment a line in Doom Emacs? In Spacemacs, it's SPC c l, but I couldn't find anything of the sort for Doom Emacs. I know I can comment a line using SPC : and then ...
cyberglot's user avatar
  • 395
0 votes
1 answer
85 views

Does anyone know how to stop Rider's code cleanup tool from affecting the indentation of comments? For reference whenever I use the code cleanup feature it changes this: switch (PlayerController->...
jpalmer999's user avatar
2 votes
4 answers
121 views

I have an XML file that looks like this: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE rrd SYSTEM "https://oss.oetiker.ch/rrdtool/rrdtool.dtd"> <!-- ...
flyingfishfinger's user avatar
0 votes
0 answers
38 views

I am trying to stop Eclipse changing the indentation of comments when using the formatter. e.g. public class Test { public static void main(String[] args) { // comment 1 if (...
jimjim's user avatar
  • 420
0 votes
2 answers
169 views

When I type : in a comment in a CSS file, VS Code shows a popup with suggestions to autocomplete with any CSS pseudo-element and pseudo-class. Screenshot attached. screenshot showing the issue I just ...
Germán's user avatar
0 votes
1 answer
59 views

I found a VSCode theme I really like but the comment colour was too dark. I changed the colour value in settings.json, however it doesn't work. I have done this before with other themes and it has ...
liLeo's user avatar
  • 13
1 vote
1 answer
78 views

I’m working with a Blocksy child theme and have implemented a star rating system for posts. However, I’m facing an issue where: I need the star rating to appear above the default WordPress comment ...
Heart Of Chindianapolis's user avatar
0 votes
0 answers
30 views

I need to turn on/off the module for "comments" section on Joomla. I have looked around for the module and can't find it. Honestly I'm not a professional programmer and my results are not ...
Yusuf Estes Ustadh's user avatar
0 votes
0 answers
55 views

For a reason that has been proven useful in my company, it has been decided to standardize the comment and coding style imitating C#, both in JavaScript, TypeScript, and even PHP for some old issues, ...
Cheva's user avatar
  • 360
-1 votes
2 answers
79 views

terminal console messages for my command: PS C:\Users\dev> python 'C:\a-c-151_(o-c-091)\uk-land-registry-data-pipeline.py' File "C:\a-c-151_(o-c-091)\uk-land-registry-data-pipeline.py", ...
ahiyantra's user avatar
-1 votes
1 answer
52 views

i am developing a rest-based django project. i want to implement a commenting system in my project; but it has to be decoupled from the other apps. therefore, deepseek suggested to use drf-comments in ...
husein.azimi's user avatar
-1 votes
4 answers
426 views

I’m working on an HTML document where I need to comment out multiple lines of code. However, the issue arises because some of the lines already contain the sequence -->, which causes the browser to ...
Ramdas Rajan's user avatar
0 votes
1 answer
30 views

In Google Colab, it offered to store comments in iconified form on the right, so that they appear as a round button with a number inside of it. I can only view the comment if I click on that number. ...
Lyle Z's user avatar
  • 1,371
-1 votes
1 answer
97 views

Here is how you define a custom type, from the Closure compiler documentation: /** * @typedef {{ * foo:string, * bar:number, * foobar: (number|string) * ...
Björn Morén's user avatar
0 votes
0 answers
83 views

I want to highlight a comment with a custom color when the comment contains a specified keyword, e.g. todo. I want to highlight the entire comment, not just the keyword itself. How to do that in VS ...
pete19's user avatar
  • 123
-4 votes
1 answer
118 views

#[derive(SomeMarco)] struct MyStruct { field1: i32, // this is a comment field2: String, // hello world } I now have a struct like this, and i want to get the field name and comment, how ...
cooronx's user avatar
  • 13
2 votes
1 answer
52 views

Suppose I have dummy table like this: CREATE TABLE test_table (value INT); And a comment on that column: COMMENT ON COLUMN test_table.value IS 'Test comment'; Then, I create a view on my table: ...
grga-gc's user avatar
  • 23
0 votes
2 answers
365 views

Currently, I am using Vite with ReactJS and have the following two types of comments inside my codes, for example: export const Main = () => { useEffect(() => { // console.log("first ...
hokwanhung's user avatar
0 votes
1 answer
88 views

I'm using VS Community 2022 v17.10.5. Just recently, when I comment out c# code in a Blazor component (.razor), it is using "@* @" instead of "//". It uses "//" in my ....
Cincy Steve's user avatar
0 votes
1 answer
35 views

I'm trying to make a textx grammar that will include a the ability to have single line comments like a c/c++ source file. e.g. //this is a comment This is the grammar I have developed to test this. ...
kabla002's user avatar
  • 391
0 votes
1 answer
103 views

what I want My goal is not to keep the code the way I want it to be and disable black package formatting. The point I want to learn is that the difference between the two pieces of code is just one ...
Issac's user avatar
  • 11
1 vote
0 answers
142 views

I tried to use disqus in my django project: <div> <div id="disqus_thread"></div> <script> /** * RECOMMENDED CONFIGURATION VARIABLES: EDIT ...
ArianNa's user avatar
  • 53
0 votes
0 answers
62 views

I am trying to comment some Vue code on a template like this: showSelectedValue: { // ------- showSelectedValue ------- type: Boolean, // Switches between showing ...
SamFF's user avatar
  • 223
2 votes
0 answers
152 views

MediaWiki has first-class support for comments using HTML's <!--...--> syntax, but it always strips them from the output. I think that's for a good reason, but I would like to have templates ...
James Groom's user avatar
4 votes
3 answers
135 views

I have a very long command line string and i want to comment some arguments/switches and describe what they do and what can be adjusted with them. the following simplified batch-file does not work, ...
Michael's user avatar
  • 2,143
1 vote
3 answers
941 views

With the new Instagram Graph API (graph.instagram.com) it is not possible to get the username of comments. The API is also known as "Instagram API with Instagram Login" (https://developers....
Marlon360's user avatar
0 votes
0 answers
133 views

While retrieving comments through YouTube API, I have come across a problem in which the code suggests that a video has disabled comments, thus returning an error, even though I can directly access ...
0xf2f759's user avatar
2 votes
1 answer
167 views

I read in the style guide of Elisp and of Common Lisp to use specific numbers of semicolons in various cases, in short this: single semicolons for comments at the ends of code lines double semicolons ...
matj1's user avatar
  • 344
0 votes
0 answers
38 views

I am currently developing a code that brings a number of comments from songs in playlist through Google YouTube API. However, the code doesn't seem to work with a video which has comments written in ...
0xf2f759's user avatar
1 vote
1 answer
1k views

I have the following piece of code: /* long explanatory comment with some ascii art etc. */ #[test] fn foo() { //... } I want to only disable rustfmt for my leading comment, so I tried #[rustfmt::...
ChrisB's user avatar
  • 4,196
0 votes
1 answer
114 views

I am developing a package that has nested packages to assist in organizing my code. My top level package exposes some "aliases" of common functionality nested inside of the other packages ...
Jaxton Winder's user avatar
0 votes
1 answer
116 views

I found a really simple macro in LinkedIn, from 'Harriet. L', to look at the Comments in a Word document and create an Excel table showing the 'page, author, comment text & date created' for each ...
Richard Crabtree's user avatar
1 vote
3 answers
1k views

I wanted to refer to links while writing comments for the code. It could be anything like images or a URL that explains a concept. For eg: /** *../../../Array/loops/2024-07-07-17-02-11.png */ I should ...
aarshin gupta's user avatar
0 votes
1 answer
81 views

My Visual Studio 2022 community edition is behaving unusually when entering comments inside .aspx files, that should look like this. /* * This is a comment * This is another line * */ I've tested ...
Shaun Roberts's user avatar
0 votes
0 answers
44 views

I've been working on a dynamic search bar in Excel, following this video, and it works fine. =IF(I3="","No match",FILTER(Table1,ISNUMBER(SEARCH(I3,Table1[Sujet])),"No match&...
Florent's user avatar
  • 17
1 vote
2 answers
292 views

I often see: /**************************************************************************//** * some comments *****************************************************************************/ Why not: /...
elechris's user avatar
  • 727
0 votes
1 answer
115 views

YAML file example --- # Author : John Doe # Updated Date: 6/21/2024 4:23:22 PM # Status: Deployed. name: "stack overflow" version: 5 While parsing the yaml file, How to ignore the comment ...
Krishnam's user avatar
  • 879
1 vote
1 answer
129 views

Any ideas how to remove comments from the scala code so that: Nested multi line or single line comments are removed. Comments inside string literals are not removed. Code can have single and triple ...
user4955663's user avatar
  • 1,101

1
2 3 4 5
126