uncommenting
Can someone help me with uncommenting in repl.it?
I am using windows and the only way I can put a comment on a multiple
line code is by selecting everything and hitting "ctrl + k + c". But the problem comes when I try to uncomment that multiple line code. Any suggestions?
Thanks
german Keyboard STRG + '#'
Try with "ctrl + /"
@Snowflake That is the problem. I do not have a single key for "/" (forward slash). I had do switch my keyboard to Serbian because I need certaing letters for Serbian language on my keyboard. So now some keys on the keyboard are changed. For the same reason I have to use "ctrl + k + c" to comment. I cannot just use "ctrl + /". When for example I need "forward slash" I have to hit "shift + 7".
for comment above 3 lines of code hitting "ctrl+k" and "ctrl+c"
for uncomment "ctrl+k" and "ctrl+u" or "ctrl+k+u"
in mac Cmd+/ for command and when you press again it'll uncomment the selected rows or the line which cursor on it
Couldn't you change your keyboard back to American keyboard and then press "ctrl + /"?
try crt k + u,
first select the text you want then use crtl + k + u
It'll uncomment
Add or remove /"multiplication sign" and "multiplication sign"/ at the beginning and at the end of the code:
let day = {
1:'a',
2:'s' }
let num = 1
console.log(day[num])
/'' let day = {
1:'a',
2:'s' }
let num = 1
console.log(day[num]) ''/
Select all you want to comment then you can do Ctrl+/. Idon't know if that's better.
Ctrl+K+U would work.
ctrl + K + U worked for me on win10 laptop
Just do the undo button
@JadenTang2 oh yeah! This is great...
Ctrl + / works for me
Ctrl + K + U
@MufrrehAli thanks, bro.