Skip to main content

Questions tagged [comments]

A comment is a programming language construct used to embed non-compiled, programmer-readable annotations in the source code of a computer program.

comments
1 vote
0 answers
19 views

Get go doc to follow a type alias and function variable

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
33 views

I want copy the paragraph that a comment has been added to in Word and put into an Excel table

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 sowing the 'page, author, comment text & date created' for each ...
Richard Crabtree's user avatar
0 votes
0 answers
13 views

Customize WordPress "Comment-function" or other built-in WordPress function with approval option

The idea: I was asked to recreate this sort of petition but in WordPress. Basically, the users should be able to add their name (1), their e-mail (2) and upon ticking both check marks (3) that their ...
Lizzzardking's user avatar
0 votes
0 answers
22 views

Facebook Graph API: Unable to Retrieve "from" Field in Live Video Comments if users without any app roles

I'm using the Facebook JavaScript SDK to retrieve the comments for a live video (with the page access token), using the following Graph API request: GET /{live-video-id}/comments However, I'm ...
ToyOne MongKok's user avatar
-1 votes
2 answers
55 views

Add clickable link while adding comments to vscode

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

Visual Studio, typing a comment /* etc */ very odd behaviour in aspx files

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
31 views

VBA - Search & Display : result doesn't take comment/URL into account

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
1 vote
2 answers
196 views

Why are there redundant slashes in comment headers in c or c++ "*//**"

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

ObjectMapper - YAML parse - ignore comments

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
  • 799
1 vote
1 answer
79 views

How to remove comments from the scala code

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,061
1 vote
4 answers
125 views

Trying to write a C program to remove all comments from a C program

I am trying to make a program to remove all comments in a C program. I believe this is a common exercise in most C books. The code is as follows: #include <stdio.h> #include <conio.h> #...
Vinayak Deshmukh's user avatar
-1 votes
2 answers
79 views

What is the difference between double asterisks and single asterisk in a comment in java (Or IntelliJ)? [duplicate]

As the attached images show, if I put two asterisks after the slash in a comment, the comment will be rendered in green. If there's only one, the comment would be rendered in grey. I bet this is a ...
SomeZeplyn's user avatar
1 vote
1 answer
34 views

Can I create an eslint comment that is interpreted as an error?

We have branch protection and pre-push hooks in our system that force us to have no eslint errors or warnings in order to push to main/master. Sometimes, while debugging something, I will modify a ...
Jim B.'s user avatar
  • 4,654
0 votes
1 answer
38 views

How can I comment several lines at once in VSC?

I tried to comment several lines at once using ctrl+/ and ctrl+shift+A but neither worked. Do you have any idea what the problem might be? I tried these shortcuts hoping that the lines that I ...
monsterschuh 06's user avatar
1 vote
1 answer
30 views

Is there any way for vscode to properly comment out React code within return value if comments exists already within it?

Perhaps a solution to this exists that I'm not aware of. Here's some example code: Here's what happens when I highlight and try to comment out the first and second div: This gets infuriating in ...
Jordy's user avatar
  • 485

15 30 50 per page
1
2 3 4 5
421