function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdcvirajsfdcviraj 

What is the keyboard shortcut for commenting code in developer console?

Hello Friends,
I have this  below code.
<apex:page standardController="Account">
    {! Account.Name }
    {! Account.Phone}
</apex:page>
I can comment the code by standard way (" <!-- This is commented part --> ") which I can do with few clicks.

Is there a way using the keyboard shortcut to do so? MS Visual Studio has it. May be the Eclipse too, although not sure.

Please help, thanks!
KaranrajKaranraj
Currently there is no keyboard shortcuts to comment the code. Following are the keyboard shortcuts aviable for developer console
  • Open CTRL+O
  • Open Lightning Resources CTRL+SHIFT+A
  • Open log CTRL+G
  • Open raw log CTRL+SHIFT+G
  • Download log CTRL+ALT+G
  • Save the current view CTRL+S
  • Save all CTRL+SHIFT+S
  • Delete CTRL+DELETE
  • Close CTRL+/
  • Close all CTRL+ALT+/
  • Open the Execute Anonymous window CTRL+E
  • Execute anonymous Apex code when the Execute Anonymous window is open or the last executed code when the window is closed CTRL+ALT+E
  • View log panels... CTRL+P
  • Log panel SHIFT+ALT+G
  • Show/Hide help for the shortcut key CTRL+SHIFT+?
  • Find CTRL+F
  • Find/replace CTRL+SHIFT+F
  • Find/replace all CTRL+SHIFT+R
  • Search in files CTRL+SHIFT+H
  • Fix indentation SHIFT+TAB
  • Open resource CTRL+SHIFT+O
  • Clear log panel SHIFT+ALT+G
  • Show Preview of the Visualforce page/component CTRL+J
  • Navigate to the declaration of a selected object in the Source Code Editor CTRL+ALT+N
  • Show/Hide the Command Line Console CTRL+SHIFT+L
  • Navigate backward through the view history CTRL+,
  • Navigate forward through the view history CTRL+.
  • Navigate backward through the open views CTRL+PAGE UP
  • Navigate forward through the open views CTRL+PAGE DOWN
  • Toggle full screen editing of the current view, if available F11
  • Exit full screen editing of the current view, if active ESC
sfdcvirajsfdcviraj
I came with the same conclution.

Hence had to post an idea at - https://success.salesforce.com/ideaView?id=08730000000DqmhAAC
Saurabh Sood 8Saurabh Sood 8

Hi sfdcviraj,
It's better to use sublime editor for more flexibility and write code in offline also without getting error.
Austin Wang 13Austin Wang 13
Use Sublime + mavenmate or simply copy to sublime editor then copy it back to console. 
In Sublime, the shortkey is Ctrl + /
Akshay_DhimanAkshay_Dhiman
Hi sfdcviraj,

   we are able to create custom Shortcut as per your daily requirement.there are some explanation about this I hope it is useful for You
   
   1)Creating a Custom Shortcut  – The Logout of salesforce.com Hotkey

     One of the simplest keyboard shortcuts is logging out of Salesforce. Let's set it up.

     a)Defining the Keyboard Shortcut

  a)First, go to the Keyboard Shortcuts setup page for your Console and via Setup-> Create-> Apps-> Your Console -> "Customize keyboard shortcuts"-> Edit.
               b)Now add a new shortcut. "Click Add Keyboard Shortcut"

               c)Fill out the shortcut details. Note that the name of the shortcut event is namespaced with "custom shortcut". This is good practice and avoids possible conflicts with existing or future events in the Console.

               d)Now we save and move on to the next step.

Since we want the shortcut to be available at all times, the listener must also be available at all times in the Console.

Some Standard Shortcut Key is also in console check it on a link:

https://help.salesforce.com/articleView?id=console2_keyboard_shortcut_ref.htm&type=5

If you found this answer helpful then please mark it as best answer so it can help others.   
  
  Thanks 
  Akshay​
sam karolsam karol
I am following this great opportunity here https://oneshottech.com/help-with-notepad-windows10 where I learn latest things and options.
james smith 329james smith 329
DumpsCafe.com is the right choice for student of IT to pass the exam well and quickly. Download the latest exam DumpsCafe practice exams from the member's area, and memorize the Q&A real exam dumps before appearing in the real exam. We provide download access to up-to-date https://www.dumpscafe.com/Braindumps-1z0-1097-21.html questions answers Brain dumps in PDF format. If you can’t find your required exam dumps here, then you can request our support team to arrange that exam dumps for you.
Robert Miller 83Robert Miller 83

Trimming multiple spaces. I implemented this on my website (https://casinohex.org/casinos/).
This keyboard shortcut helps to get rid of extra spaces at the beginning or end of a line.

Tip: Use at the very end, when you're done with the code in the current file.

There is also an alternative approach. You can turn on trimming spaces in the settings themselves:

  • Open the user preferences (Preferences > Settings > User Settings tab).
  • Click the {} icon at the top right of the window. This will open the document.
  • Add a new rule "files.trimTrailingWhitespace": true to the User Settings document (if it doesn't already exist). Thus, you do not edit the default settings directly, but add a new rule to them.
  • Save the file UserSettings.
house of outsourcinghouse of outsourcing
  We are extremely concerned with coding and billing procedures, and we work with our cardiologist to help them maximize their earnings while still complying with regulatory requirements. We handle daily billing and swiftly reply to claim denials and rejections. We set up charting and coding to comply with the annual payer modifications that you specify. 
https://houseofoutsourcing.com/speciality/cardiology-billing-services/
Sam Smith 70Sam Smith 70
Searching for the best assignment writing service that will offer you premium services at reasonable rates? You are on the right platform papers writing services (https://paperswriting.services/); forget all the costly writing companies that dent your pocket and deliver sub-standard results. We are your number one solution for all your academic papers with a touch of excellence.
Johny JonesJohny Jones
Horse racing is a great sport. I've been working with horses for many years and I know that in order to gain their loyalty and friendship you have to be very gentle and friendly with them. I have never taken part in horse racing as a jockey, but I regularly support jockeys and their wonderful horses with on-course bookies. I have a lot of friends who are professional jockeys and actually know how hard they work to win without tiring their pals. Race winners for me, first and foremost, are always a well-coordiated team. It's racing season again, I'm in!
Alexander NunesAlexander Nunes
Download the content of this article in the zippafile click here (https://www.zippyshare.com/sikadur)
Stella SallesStella Salles
Stella SallesStella Salles
I was able to think a lot while looking at this post, see https://stokimg.comhttps://stokimg.com/ib/pkxPhofc4khttp://stokimg.com/ib/wbXstp2NAJ
stela jonesstela jones
It is not recommended to include any statements between the sections of  ‘try,’ ‘catch,’ and ‘finally’ blocks since they form one whole unit of the exception handling mechanism
try
{
    //Code that is monitored for exceptions.
}
//You can’t keep statements here
catch(Exception ex)
{
    //Catch the exceptions thrown by try block, if any.
}
//You can’t keep statements here
finally
{
    //This block is always executed irrespective of exceptions.
}

PlumbingAdvice24: It is very useful to you for your home plumbing. This is my own website, and I post blogs from time to time. So You can also find information about plumbing.
John Slaughter 2John Slaughter 2
Your article is extremely beneficial. I'm grateful for it. Do you have any interest in the game? If so, join me in geometry dash meltdown (https://geometrydashmeltdown.com), one of the well-known online games for enjoyment that you ought to attempt.
jas nskejas nske
this mine aps oner pleks perfecter shabion hamyartrip (https://hamyartrip.ir/)
daily updatezcomdaily updatezcom
The keyboard shortcut for commenting code in the developer console can vary depending on the specific developer console or IDE you are using. However, a common shortcut for commenting code in many developer environments is typically:
For Windows/Linux: Ctrl + / For Mac: Command + /
These shortcuts usually allow you to comment out a selected block of code or add comment symbols (such as // for single-line comments or /* */ for multi-line comments) to the code. It's always a good idea to refer to the documentation or key bindings specific to your development environment for the accurate keyboard shortcut. theinfobee (https://theinfobee.com/)
Ch SalmanCh Salman
With a noserider longboard, you can experience the timeless joy of traditional longboarding. It's about embracing the roots of surfing and enjoying the flow of the wave. https://howtoridealongboard.com/best-longboard-trucks/
Michael Wik 4Michael Wik 4
thanks
techfy vvvtechfy vvv
thanks fr sharing this
تکفای (https://techfy.ir/)
https://tr.ee/O3tVb5RrwW

 
oda jimoda jim
thank you so much for sharing this code. it helped me a lot. love from coin master free spins (https://www.coin-master-freespins.com/2020/12/coin-master-free-spins.html)
oda jimoda jim
orbo neeeorbo neee
You can refer to a few of these shortcuts:
Open CTRL+O
Open Lightning Resources CTRL+SHIFT+A  Super Mario (https://super-mario.io)
Open log CTRL+G
Open raw log CTRL+SHIFT+G
Download log CTRL+ALT+G
Save the current view CTRL+S
Save all CTRL+SHIFT+S
Delete CTRL+DELETE
Close CTRL+/
Close all CTRL+ALT+/
skoer wertgtheskoer wertgthe
now you buy follower by inbo 
https://inbo.ir/buy-instagram-follower/
skoer wertgtheskoer wertgthe
buy explore insta packeges
https://khordad.news/001dO8
MartinezMartinez
Sam KuiSam Kui
I love shortcuts and mini features, it makes navigation action quick. That's the main reason why I prefer Insta Pro (https://instaprolatest.org/) over stock Instagram.
larry larryellisonlarry larryellison
I haven't found a Keyboard Shortcut for Code Commenting in the developer console. Does it exist? Surely only  geometry dash bloodbath
has the answer.
oda jimoda jim
thank you for sharing this do collect coin master free spin (https://sitemise.com/coin-master-free-spins/) from sitemise.com (https://sitemise.com/)
Dizi IzleDizi Izle
https://dramaz24.com/
Watch best and latest K-Dramas on interenet online, without ads or anything for Free.