- Developer Tool For Javascript
- Web Developer Tool For Chrome
- Developer App For Mac
- Web Developer Tool For Mac
- Sql Developer Tool For Mac
- Developer Tools For Microsoft Edge
Keyboard shortcuts for opening DevTools
Action | Mac | Windows / Linux |
---|---|---|
Open whatever panel you used last | Command+Option+I | F12 or Control+Shift+I |
Open the Console panel | Command+Option+J | Control+Shift+J |
Open the Elements panel | Command+Shift+C or Command+Option+C | Control+Shift+C |
Global keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Show Settings | ? or Function+F1 | ? or F1 |
Focus the next panel | Command+] | Control+] |
Focus the previous panel | Command+[ | Control+[ |
Switch back to whatever docking position you last used. If DevTools has been in its default position for the entire session, then this shortcut undocks DevTools into a separate window | Command+Shift+D | Control+Shift+D |
Toggle Device Mode | Command+Shift+M | Control+Shift+M |
Toggle Inspect Element Mode | Command+Shift+C | Control+Shift+C |
Open the Command Menu | Command+Shift+P | Control+Shift+P |
Toggle the Drawer | Escape | Escape |
Normal reload | Command+R | F5 or Control+R |
Hard reload | Command+Shift+R | Control+F5 or Control+Shift+R |
Search for text within the current panel. Not supported in the Audits, Application, and Security panels | Command+F | Control+F |
Opens the Search tab in the Drawer, which lets you search for text across all loaded resources | Command+Option+F | Control+Shift+F |
Open a file in the Sources panel | Command+O or Command+P | Control+O or Control+P |
Zoom in | Command+Shift++ | Control+Shift++ |
Zoom out | Command+- | Control+- |
Restore default zoom level | Command+0 | Control+0 |
Run snippet | Press Command+O to open the Command Menu, type ! followed by the name of the script, then press Enter | Press Control+O to open the Command Menu, type ! followed by the name of the script, then press Enter |
Elements panel keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Undo change | Command+Z | Control+Z |
Redo change | Command+Shift+Z | Control+Y |
Select the element above / below the currently-selected element | Up Arrow / Down Arrow | Up Arrow / Down Arrow |
Expand the currently-selected node. If the node is already expanded, this shortcut selects the element below it | Right Arrow | Right Arrow |
Collapse the currently-selected node. If the node is already collapsed, this shortcut selects the element above it | Left Arrow | Left Arrow |
Expand or collapse the currently-selected node and all of its children | Hold Option then click the arrow icon next to the element's name | Hold Control+Alt then click the arrow icon next to the element's name |
Toggle Edit Attributes mode on the currently-selected element | Enter | Enter |
Select the next / previous attribute after entering Edit Attributes mode | Tab / Shift+Tab | Tab / Shift+Tab |
Hide the currently-selected element | H | H |
Toggle Edit as HTML mode on the currently-selected element | Function+F2 | F2 |
Styles pane keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Go to the line where a property value is declared | Hold Command then click the property value | Hold Control then click the property value |
Cycle through the RBGA, HSLA, and Hex representations of a color value | Hold Shift then click the Color Preview box next to the value | Hold Shift then click the Color Preview box next to the value |
Select the next / previous property or value | Click a property name or value then press Tab / Shift+Tab | Click a property name or value then press Tab / Shift+Tab |
Increment / decrement a property value by 0.1 | Click a value then press Option+Up Arrow / Option+Down Arrow | Click a value then press Alt+Up Arrow / Alt+Down Arrow |
Increment / decrement a property value by 1 | Click a value then press Up Arrow / Down Arrow | Click a value then press Up Arrow / Down Arrow |
Increment / decrement a property value by 10 | Click a value then press Shift+Up Arrow / Shift+Down Arrow | Click a value then press Shift+Up Arrow / Shift+Down Arrow |
Increment / decrement a property value by 100 | Click a value then press Command+Up Arrow / Command+Down Arrow | Click a value then press Control+Up Arrow / Control+Down Arrow |
Sources panel keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Pause script execution (if currently running) or resume (if currently paused) | F8 or Command+ | F8 or Control+ |
Step over next function call | F10 or Command+' | F10 or Control+' |
Step into next function call | F11 or Command+; | F11 or Control+; |
Step out of current function | Shift+F11 or Command+Shift+; | Shift+F11 or Control+Shift+; |
Continue to a certain line of code while paused | Hold Command and then click the line of code | Hold Control and then click the line of code |
Select the call frame below / above the currently-selected frame | Control+. / Control+, | Control+. / Control+, |
Save changes to local modifications | Command+S | Control+S |
Save all changes | Command+Option+S | Control+Alt+S |
Go to line | Control+G | Control+G |
Jump to a line number of the currently-open file | Press Command+O to open the Command Menu, type : followed by the line number, then press Enter | Press Control+O to open the Command Menu, type : followed the line number, then press Enter |
Jump to a column of the currently-open file (for example line 5, column 9) | Press Command+O to open the Command Menu, type :, then the line number, then another :, then the column number, then press Enter | Press Control+O to open the Command Menu, type :, then the line number, then another :, then the column number, then press Enter |
Go to a function declaration (if currently-open file is HTML or a script), or a rule set (if currently-open file is a stylesheet) | Press Command+Shift+O, then type in the name of the declaration / rule set, or select it from the list of options | Press Control+Shift+O, then type in the name of the declaration / rule set, or select it from the list of options |
Close the active tab | Option+W | Alt+W |
Code Editor keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Delete all characters in the last word, up to the cursor | Option+Delete | Control+Delete |
Add or remove a line-of-code breakpoint | Focus your cursor on the line and then press Command+B | Focus your cursor on the line and then press Control+B |
Go to matching bracket | Control+M | Control+M |
Toggle single-line comment. If multiple lines are selected, DevTools adds a comment to the start of each line | Command+/ | Control+/ |
Select / de-select the next occurrence of whatever word the cursor is on. Each occurrence is highlighted simultaneously | Command+D / Command+U | Control+D / Control+U |
Performance panel keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Start / stop recording | Command+E | Control+E |
Save recording | Command+S | Control+S |
Load recording | Command+O | Control+O |
Memory panel keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Start / stop recording | Command+E | Control+E |
Console panel keyboard shortcuts
Action | Mac | Windows / Linux |
---|---|---|
Accept autocomplete suggestion | Right Arrow or Tab | Right Arrow or Tab |
Reject autocomplete suggestion | Escape | Escape |
Get previous statement | Up Arrow | Up Arrow |
Get next statement | Down Arrow | Down Arrow |
Focus the Console | Control+` | Control+` |
Clear the Console | Command+K or Option+L | Control+L |
Force a multi-line entry. Note that DevTools should detect multi-line scenarios by default, so this shortcut is now usually unnecessary | Command+Return | Shift+Enter |
Execute | Return | Enter |
Expand all sub-properties of an object that's been logged to the Console | Hold Alt then click Expand | Hold Alt then click Expand |
Feedback
Developer Tool For Javascript
Web Developer Tool For Chrome
Developer App For Mac
I seem to recall a long time ago that when you installed Mac OS X you also got a bunch of cool Unix command line developer tools, including a C compiler, debugging tools and much more. I’m taking a C programming class at the local community college and would like to install these tools, but have no idea where they are any more. Help?
Ah yes, join us now as we travel back in time and visit the software development environment of yesteryear, the Unix command line. Thrill as we see obfuscated error messages from the C compiler, gasp as we come face to face with “vi” and weep in anticipatory frustration as we try to use “gdb” to figure out what the heck’s wrong with our simple “hello world” application.
Actually, I have always enjoyed programming in C and have written some quite massive applications in the language. I still dabble in the language, actually, as I find it to be fast, flexible and logical for tasks that can’t be forced into a shell script template. I tried object-oriented programming and was even a professional LISP programmer for a while, but never quite wrapped my brain about the concept.
Anyway, Apple does include a C development environment – and quite a bit more – with every copy of Leopard, along with earlier versions of Mac OS X, but truth be told, you need to know one key thing: the Apple development environment toolset is called Xcode.
Now you can drop your install (or restore) disk into your drive and know how to proceed. I am going to be working off an original Leopard OS, but XCode is included with all modern releases of Mac OS X, as far as I am aware.
When you open up the install DVD, you’ll see that in addition to the cool “Install Mac OS X” icon, there’s also a folder labeled “Optional Installs”. That’s what you want.
Within there’s an icon labeled “Optional Installs.mpkg”. That’s not what you want, so don’t click on it. Instead, go into the folder “Xcode Tools”, where you’ll see three installers: “Dashcode.pkg”, “WebObjects.mpkg” and “XcodeTools.mpkg”.
Double-click on “XcodeTools.mpkg” to get started.
Get past the license agreements (yawn) and click on “Customize” and you’ll see what’s about to be installed:
The key one to ensure you have selected is “UNIX Development Support” which gives you access to all the handy commands and tools you seek.
Given that you aren’t developing Mac applications with a GUI but want to just experiment with the C language, I suggest that you unselect “Core Reference Library”, which is described by Apple as:
“An Xcode documentation set consisting of Apple’s Mac OS X and Developer Tools technical resources, including Guides, Reference, Release Notes, Sample Code, Technical Notes, and Technical Q&As. This content is relocatable and placed inside a location chosen by the user (default is /Developer on the boot volume).”
After dropping that off the list, it’s still a fairly substantial installation of 1.9GB, but I have a sense we can prune that down further once everything’s added, which I’ll do by clicking on “Install”.
About ten minutes later, it’s installed and I quit the install program and open up, of course, a Terminal window (Applications -> Utilities -> Terminal.app) and immediately move to “/Developer” to see what’s new:
$ ls
About Xcode Tools.pdf Headers/ SDKs/
Applications/ Icon? Tools/
Documentation/ Library/ usr/
Examples/ Makefiles/
Extras/ Private/
We could dig into things and prune down the installation at this point, as shown here:
84K About Xcode Tools.pdf
182M Applications
378M Documentation
148M Examples
3.0M Extras
1.8M Headers
169M Library
1.2M Makefiles
148K Private
353M SDKs
256K Tools
149M usr
but, really, let’s get into playing with the tools instead. Far more fun.
It turns out that all the tools are tucked into “/Developer/usr/bin”. Go there and you’ll find all your favorite developer apps, from ar and cpp to cvs, flex, gcc (the key app: that’s the GNU C compiler), lex, m4 and, oh, so many more tools that will bring a tear of joy to your geeky command line eye. ?
And so, a simple C program:
![Microsoft Microsoft](/uploads/1/3/3/9/133933293/853440988.png)
main()
{
printf(“Aloha, bruddas!n”);
}
Web Developer Tool For Mac
Compiled and run:
Sql Developer Tool For Mac
Now we’re rockin’. At least, in an old-school programmer geek sense. ?