![]() ![]() You can also find and adjust the color scheme settings including the high contrast color scheme for people with eyesight deficiency on the Editor | Color Scheme page and the keymap settings on the Keymap page of the Settings dialog ( Ctrl+Alt+S). Use the same shortcut Ctrl+` to undo your changes. In the Switch menu, select the option you need and press Enter. You can switch between schemes, keymaps, or viewing modes. Press Backspace to remove the selected file from the list and close it in the editor. Keep Ctrl pressed to leave the switcher popup open. To jump between the opened files and tool windows with the switcher, press Ctrl+Tab. You can use the same shortcut Shift+F12 to restore the saved layout. To save the current layout as the default, from the main menu select Window | Store Current Layout as Default. If you need to keep the terminal window open when you switch back to the active editor, press Ctrl+Tab. Return to the editor from the command-line terminal PhpStorm moves the focus from any window to the active editor. Switch the focus from a window to the editor In this case the active screen is maximized and other screens are moved aside. PhpStorm hides all windows except the active editor. You can use various shortcuts to switch between the editor and different tool windows, change the editor size, switch focus, or return to the original layout. Tabs show the names of the currently opened files. The gutter shows line numbers and annotations. The scrollbar shows errors and warnings in the current file.īreadcrumbs help you navigate inside the code in the current file. The editor consists of the following areas: 10.The PhpStorm editor is the main part of the IDE that you use to create, read and modify code. And if we want our program just to run until it encounters the next breakpoint, then Run – Debugging Actions – Resume Program ( F9) does just that. If we want our program to run to the line where our cursor is, then Run – Debugging Actions – Run to Cursor ( Alt + F9) accomplishes this. That's what Run – Debugging Actions – Step Out ( Shift + F8) does. When debugging, we may want to run our code until the current method is finished. Alternatively, we can dive into the method at the current line with Run – Debugging Actions – Step Into ( F7). So if that line is a method, we'll execute that entire method in one fell swoop. When our code hits a breakpoint during debugging, we can step over the current line with Run – Debugging Actions – Step Over ( F8). We can toggle a breakpoint at the current line with Run – Toggle Breakpoint – Line Breakpoint ( Ctrl + F8 / Cmd + F8). We view the current breakpoints with Run – View Breakpoints ( Ctrl + Shift + F8 / Shift + Cmd + F8). We can still save all files manually with File – Save all ( Ctrl + S / Cmd + S). IntelliJ IDEA automatically saves our code, for instance, before running it. ![]() That is Ctrl + Shift + / in Windows and Alt + Cmd + / in macOS. We can even comment out a whole block of code with Code – Comment with Block Comment. We can use Code – Surround with ( Ctrl + Alt + T / Alt + Cmd +T) to put control structures around our code, such as an if statement. And with Code – Generate ( Alt + Insert / Cmd + N), we can create common methods like getters, setters, or toString(). Code – Code Completion – Complete Current Statement ( Ctrl + Shift + Enter / Shift + Cmd + Enter) finishes our current line.Ĭode – Override Methods ( Ctrl + O) lets us pick inherited methods to overwrite. We may need to type a closing parenthesis and have to put a semicolon at the end. This function also automatically launches after a brief delay in the default IntelliJ IDEA configuration. When we start to type the name of variables, methods, or types, IntelliJ IDEA helps us finish those names with Code – Code Completion – Basic ( Ctrl + Space). Once we arrive at the right file and the right place, we can start editing our code. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |