intellij idea multiple cursors. It actually affects the cursor movement speed, the constant switching between cursors slows movement to a crawl, making it very frustrating to move the cursor over any window with links (particularly stacktraces) as it requires multiple re-positionings of the mouse to fully move across the text. intellij idea multiple cursors

 
It actually affects the cursor movement speed, the constant switching between cursors slows movement to a crawl, making it very frustrating to move the cursor over any window with links (particularly stacktraces) as it requires multiple re-positionings of the mouse to fully move across the textintellij idea multiple cursors  Fortunately, there are several search functions (with keyboard shortcuts) in Intellij IDEA to help you locate the code segments, classes, methods or other

When there are two or more simultaneous cursors, they are called multiple cursors. When you want to go back to single-cursor mode, just press Esc. Smart step into (Shift + F7) lets. When you want to start a new line above the current line, there’s a shortcut that will help you cut down on the number of keystrokes even further. 101. Intellij/Android Studio lets you edit multiple lines at once, and there are several ways of doing this. . profile file. 0 comments. Follow asked Dec 15, 2018 at 18:26. Share. Related: Cmd - Shift - Enter ( Ctrl + Shift + Enter on Windows) jumps to the next empty line. Share. Enter the abbreviation that you’ll be using to invoke the template. Version 2017. How it works? Press Shift+Alt+left click. This action can be anything ranging from an insertion to a deletion. Created July 11, 2016 18:42. I understand this might be a bit off-topic, but here's the thing: while working on a study project, I wrote the code for a desktop application called "Text Editor" which has a user interface built with Swing. vimrc, IdeaVim can parse and enable plugins that are defined using vim-plug or vundle . Or you can select highlighted text and press Ctrl. IntelliJ IDEA supports having multiple cursors at once, meaning you can type and edit at multiple locations at the same time. How to handle multiple cursors in IdeaVim. 1 introduces Sublime style multiple selections, the top voted editor feature in our tracker! Here. Alt Click and drag the mouse to make the selection. In sublime you can select a part of text or even whole text by Ctrl+A and tap Ctrl+Shift+L will split your selection into multi cursor, it is especially useful when you deal with a big selection, and it's a bit horribly to select it by Mouse3 dragging. Enter the abbreviation that you’ll be using to invoke the template. I want to edit multiple lines in eclipse, but I can't find any short cut or Plugin. Follow. : will become. 3. Become multi-armed with CLion’s multiple cursors. Use Tab key to focus on the Use Default Runtime, Press Enter to confirm. intellij shortcut for cursor step back? 2. 1, if you need to edit a document in the same way in several places, you can save efforts by using multiple selections feature. Share. In editors like Visual Studio Code, you can press Ctrl + D to select the word under the cursor. Viewed 15k times. Tips Tutorials Playlists Technologies Topics About. For more information, refer to Font settings. Besides standard settings that you frequently use, IntelliJ IDEA offers various advanced options that you can use to fine-tune the behavior of the specific product functionality. Share. vim-multiple-cursors (broken autocompletion, history) Changing a word at n positions. To select ranges as multiple rectangular selections, Ctrl Alt Shift Click and drag the mouse over the desired parts of code. Comment actions. Right click on the left side bar > Show Line Numbers. Quickly find any file, action, symbol, tool window, or setting in IntelliJ IDEA, in your project, and in. For more information about adding and editing code, refer to Write and edit source code. You may also uncheck the other options in the Virtual Space panel. So I just want to move a block of. Modifying the size of your Project tool window (or other active tool windows) The Project tool window is one of the most frequently used ones in IntelliJ IDEA. WebStorm treats your code as regular text. The drag-column-select that you see is useful when text elements are functionally aligned in your file, but in column select mode it might be even more useful when you figure out you can hold Option (IIRC—on Mac) then click multiple times to get multiple cursors where you click. To exit the mode again, just right-click in the editor and select Column Selection Mode (which will have a check mark in front of it). Today I want to show you how you can make the same change in several places inside your class with multiple carets. In Eclipse, the command to add the next occurrence to multi-selection is called Multi selection down relative to anchor selection. Elena Pogorelova. For more information about adding and editing code, refer to Write and edit source code. Put your cursor on the first line, then press & hold Option + Shift (on a Mac. After pressing some keys like a it changes back to. Finally hit Ctrl+K to search for the next occurrence of "foobar". Skov555. Version 2017. Because the mouse is not responding and Ctrl+Shift+A is not working. Hi there, Try ${CARET}. We already have a related. In the search pane at the top, type img. Press Alt 0→ and Alt 0← to switch between active tabs. 1. Windows: Ctrl + Shift M. Alternatively, to add multiple carets, you can press Alt/Ctrl twice, and then without releasing it, press the Up or Down. In Sublime Text 2 or Atom you. Use Alt + Shift + Insert to switch between Column and Insert selection mode. When you want to go back to single-cursor mode, just press Esc. Also, you can use shortcut Ctrl-Shift-R for replacing any word in project, it is useful if you working with huge project or your variable appears in config files. Here are some general points: Double clicking an identifier (or a word in a string literal) will select it. g. Probably not 100% solution but you can try to use touchpad scrolling while holding the SHIFT button. Edit the width attribute in a few places. +250. Hot Network Questions Jump-starting a car: connecting black to the engine blockTo select a portion of a line that maybe you want to replace, delete, or copy, hold down Shift and press ← or → arrow keys. Several useful shortcuts for the multiple carets: - p ress Alt+Shift and select the caret locations with the mouse - or press Ctrl+G to add the next occurrence of the current word to the selection - to delete from the selection, press Ctrl+Shift+G. IntelliJ IDE features for better writing Multiple cursors Multiple cursors Last modified: 20 September 2023 Change the width for a few images using multiple. With Text Blocks, Java 13 is making it easier for you to work with multi-line String values. The effect is the same as Alt + Shif + Down Arrow shortcut of VSCode. You could also do that by typing ‘psvm’ – the acronym for public static void main. Viewed 63k times. The shortcut is: ⇧ + ⌘ + 8 on Mac. Select multiple occurrences of the same word and change them all at once. Search for Clone Caret Above and Clone Caret Below. set showmode 2. Use this keyboard shortcut to jump to between matching brackets. The first method is to use a shortcut key, hold down Alt+Shift and then use the left mouse button to click on the place you want to input, and a cursor will appear at the clicked place at each. . To create a new Scratch file, press Control+Alt+Shift+Insert. No additional set commands in ~/. This action can be anything ranging from an insertion to a deletion. Share. This is a subreddit for posting discussion, tips & tricks, asking for help, etc. Java 13 and IntelliJ IDEA. Elena Pogorelova. Please go to Settings -> Keymap -> Editor Actions and set up. However, I'm unable to start a selection using the keyboard alone. In addition, it seems as if I am able to click anywhere on the document, and the cursor is placed at that location, not the end of the line. Majid Sportback. It is primarily used for Java development but also supports other programming languages such as Kotlin, Groovy, Scala, and more. Related: Cmd - Shift - Enter ( Ctrl + Shift + Enter on Windows) jumps to the next empty line. If you move your mouse horizontally at the same time, you’re doing selection. Viewed 15k times. CodeTogether. The IntelliJ IDEA editor is the main part of the IDE that you use to create, read and modify code. On OS X it's ⌘ + ⌥ + LEFT and ⌘ + ⌥ + RIGHT. works for me: hit Alt, release it, then immediately hit it again, and, while holding it, use Up/Down keys. This is the simplest problem you usually want to solve with multiple cursors. The key combination for block selection is Shift+Ctrl+Alt (See Sect. When pasting, you can optionally choose items from clipboard history and automatically apply formatting rules. . Place the caret at one corner of the rectangle, and then Alt Shift Middle click at the diagonally opposite corner. Not exactly the same, but close: put the cursor where you want it first (i. In the search pane at the top, type img. If there are lines with a length lower than the current position, the vertical line will be. There are a few shortcuts you need to remember before you can really take advantage of multicursor, and this is basically a cheat. my line das my line asd my line sda my line poi my line uio my line kjy And I want to have them automatically numbered like this . Hit <Esc> to exit search mode. As a result, you will have multiple selection ranges. Alternatively, you can press Alt 0↓ to see the list of. This plugin adds three main commands in normal mode <ALT-n>: Start multi cursor mode, select the current word, or select the next. Include the. Hit Ctrl+F for search; IntelliJ will pick up the selected text "foobar". Select the number of lines that corresponds to the editor height, up/down from the current caret position and scroll the document accordingly, and then extend the selection to the same number of lines in the same direction. To run a Java application packaged in a JAR, IntelliJ IDEA allows you to create a dedicated run configuration. に従って他プラグイン同様にインストールします。. IntelliJ IDEA supports having multiple cursors at once, meaning you can type and edit at multiple locations at the same time. Is it possible to some how setup IntelliJ IDEA so that I can column select with the cursor keys similarly to how I might in Notepad++, Visual Studio, or FlashDevelop. IntelliJ shortcut a day: Column & Multi Cursor Select IntelliJ Shortcut a day gives you short, bite sized videos for you to consume at your own pace to massi. IntelliJ IDEA now supports two different ways of synchronization out of the box. Be smart with IntelliJ IDEA by changing your multiple lines simultaneously. Shift-Alt-Up/Down Add Line to Selection - adds a cursor on the previous/next line. The problem was the ideaVim intellij plugin. vim-visual-multi. However, undo and redo will not work intuitively in Live Preview – actions will be handled individually for each cursor, rather than grouped together. Put your cursor on the first line, then press & hold Option + Shift (on a. I was wondering whether there's a shortcut to change the order of method parameters as easily, so that. –We can select increasing or decreasing sections of code near the cursor with ⌥ and Up or Down arrows (MacOS) and Ctrl+W or Ctrl+Shift+W (Windows/Linux). 41 4. The IntelliJ IDEA editor is the main part of the IDE that you use to create, read and modify code. works for me: hit Alt, release it, then immediately hit it again, and, while holding it, use Up/Down keys. Create, open and develop. The default size of the clipboard is 5; it will show the last five things have have been copied. Stack Overflow is leveraging AI to summarize the most relevant questions and answers from the community, with the option to ask follow-up questions in a conversational format. Click on the gear on the bottom-left corner of the window and choose "Keyboard Shortcuts" from the menu. Hit <Enter> to search once for "foobar". By default, IntelliJ has only one “Default Changelist”, but you can also create your own. If you need to undo or redo your changes, press Ctrl+Z / Ctrl+Shift+Z respectively. The expected behavior to select a text should be by pressing the left btn with the mouse and moving it around, but. I also like using the RerunFailedTest which does what it says. Multi-cursors for IntelliJ Gabriel Fürstenheim · Follow 4 min read · May 23, 2020 -- One of the best features of IDEs are multi-cursors. When you create a Go project in IntelliJ IDEA, you can specify a directory for the . Use a predefined keymap. You switched accounts on another tab or window. Second, I selected both class names by holding Alt + Shift and dragging my mouse across each class name (which triggers the multiple cursors feature. 1. WebStorm finds and. Since IntelliJ IDEA 13, you can switch to Presentation Mode by clicking View → Enter Presentation Mode. . Use this tag when multiple cursors are important to the question's topic. Placing your cursor on a word or identifier, and typing CTRL+W will progressively select the work, the sentence, the parameter, the method call, etc. IntelliJ IDEA supports having multiple cursors at once, meaning you can type and edit at multiple locations at the same time. Structural search and replace. Works with multiple cursors. Add CodeTogether to IntelliJ-based IDEs to live share your IDE and coding sessions. 2. Alt Click and drag the mouse to make the selection. 121. Change Multi-caret Hotkey. It's called vim-visual-multi in analogy with visual-block, but the plugin works mostly from normal mode. intellij-idea; multiple-cursor; dfasdflskladf. Type Choose Boot Java Runtime for the IDE action. - to restore single caret mode, use Esc. It actually affects the cursor movement speed, the constant switching between cursors slows movement to a crawl, making it very frustrating to move the cursor over any window with links (particularly stacktraces) as it requires multiple re-positionings of the mouse to fully move across the text. 2 (build 192). • Fixed an issue where carets sometimes were not vertically aligned after plugin usage. GoLand stores all the settings files in the . This however doesn’t solve the issue. Sorted by: 1. If I rename a variable I have to type slow or the multiple cursors get out of sync, it is an abysmal user experience. This is another very essential shortcut. Hit Shift twice > write "line" > Show Line Numbers (the line doesn't have the toggle) Ctrl + Shift + A > write "Show line" > Active Editor: Show Line Numbers > change the toggle to ON. You can see multiple cursors and they will perform the same operation as you start typing. ) 0. To select ranges as multiple rectangular selections, Ctrl Alt Shift Click and drag the mouse over the desired parts of code. To work with WSL 2, your Windows version should be 10 build 18917 or later. This feature has been inspired by Sublime Text and it was the top voted feature in Idea. If we remember just one IntelliJ IDEA shortcut, then it must be Help – Find Action, which is Ctrl + Shift + A in Windows and Shift + Cmd + A in macOS. To select ranges as multiple rectangular selections, Ctrl Alt Shift Click and drag the mouse over the desired parts of code. Scroll to Center looks like what you need. If you are on ubuntu running on a bootcamp mac (macbook pro here) then the key stroke is Alt. Hi all and thanks for your help. We're rolling back the changes to the Acceptable Use Policy (AUP). e. Alt Click and drag the mouse to make the selection. And hold down Ctrl as you do that to jump entire words. I was coding something and suddenly android studio started placing cursors on each and every selected line. In order to use Maven, You also need to add a path variable export M2_HOME=/path/to/maven to the . IntelliJ IDEA 2023. press Ctrl + F. Intellij Idea calls this multiselection. I've encountered the following issue: I need to grant access to IntelliJ IDEA to control the cursor on my Mac Air M1. I'm trying to use multiple cursors, selecting successive instances with `ctrl-G`, but it isn't working for me. Intellij Idea calls this multiselection. Since the advanced settings consist of different sections, you can use the search field to quickly navigate to the section of interest or the needed option. Sometimes it is useful to edit multiple places in the file at once, which can save you precious time and increase your productivity. You can drag the mouse while holding Alt+Shift and select the text required. In Eclipse I only have to do this: Select the text "foobar" in the editor. The multiple-cursors emulates vim-multiple-cursor plugin, and as the name suggests, it allows using multiple cursors in a vim fashion. When typing, copying, or pasting are IntelliJ IDEA editor, you able toggle repeatedly cursors to that your actions apply in several places. Editor Coordinate Systems. To create multiple cursors, hold ⌥, click anywhere within the first line you want to the first cursor to be, and drag it down vertically. Use arrows key to select the item. Or, use text search first and then place multiple cursors in all the places where matches have been found by choosing Select All. g. If you want to organize the imports use Ctrl+Alt+O, to execute all the formatting features just use Ctrl+Shift+Alt+T. Very useful feature. 1 Answer. There is a feature where multiple cursors ("carets"?) will appear when I middle mouse click and drag. answered Sep 2, 2020 at 9:51. This is finally available! IntelliJ IDEA 13. Fn + Enter = Ins since no Ins key exists on the macbook pro. To close a tab, click on the Terminal toolbar or press Ctrl F4. Hello, You may remove "Middle Click" shortcut from "Create rectangular selection on mouse drag" in "Settings/Preferences | Keymap". . We tried editing a test file with my cursor typing at the top line, and his at the bottom. 2. 2. If you are not in the editor, you will need to hit Esc first to focus it. Yes i saw alt+shift+mb1, this will create multiple cursors, while in eclipse all you have to do is ctrl+shift and click anywhere and then just click delete and it will delete the whole selected text. As a side. 1. Perhaps more usefully, you can select all instances of any. ideaVim plug in is the problem, disable that and that misbehaviour will be gone. 使用 Shift + Up/Down 来创建多个光标的功能,通过 Clone Caret above 和 Clone Caret bellow 也可以实现。. Alt Click and drag the mouse to make the selection. While we wait for it to be natively implemented in the IDE, you can do this!7. Select the code you want to use in the template in the editor, press ⇧⌘A / Ctrl+Shift+A, and search for the action Save as Live Template…. Just go to the Keymap section of preferences and add a Keyboard Shortcut for yourself to Toggle. One small popup asked about key repeating and if I want to make it enabled. Overview. On the Live Templates page, you can see all the available live templates, edit them and create new templates. 3, there are actually two options under File -> Preferences:. Code is rarely a write-once activity, we often need to go back and change it. It helps me to edit multiple lines very fast. In the Mouse Shortcut dialog, move the mouse pointer to the central area and click or scroll as necessary. IntelliJ IDEA is a Java IDE developed by JetBrains. Looks like in my case it was somehow related to Nvidia drivers, when I updated to latest drivers from nvidia site problem just disappeared. We've edited a few image elements simultaneously using multiple carets in this tutorial. And I was fascinated by this because this was something I never did I always used multiple cursors and use a couple of extensions that make doing stuff like this easy and then it hit me, when I started working as a new. + Read More HereThere is an option to get multiple cursor with Ctrl + alt + mouse left long click on all the lines that you want to select. Also read: Know your IDE: IntelliJ IDEA (part 2) – Navigate Through the Project With Use of Keyboard. Then if you scroll down to the editor. If you are on ubuntu running on a bootcamp mac (macbook pro here) then the key stroke is Alt + Shift + Fn + Enter. I use this plugin to perform mass edits in code and non-code files. Multiple cursors. by: Helen Scott. You may also uncheck the other options in the Virtual Space panel. IntelliJ IDEA 14. Summary. Press Alt Enter and select Open file in project. Stepping is the process of controlling step-by-step execution of the program. So if you are like me, you can just temporarily change it to IntelliJ keymap, press SHIFT+ALT+INSERT and switch back to your previous keymap settings. Multiple cursors Change the width for a few images using multiple carets. 1 in Manual). :-) 13. 7. ". Hadi Hariri, Developer Advocacy Lead at JetBrains, presented his talk at JavaZone entitled 'IntelliJ IDEA T. Image by the author. 2 introduced a new feature called Unload Modules, which allows you to define which modules of the project should be excluded. Alt Click and drag the mouse to make the selection. But if you want to create multiple. Cross-IDE support for Eclipse, IntelliJ, and VS Code provides the flexibility lacking in other. Other caret settings are under Settings -> Editor -> Colors & Fonts -> General. Multi-cursors for IntelliJ Gabriel Fürstenheim · Follow 4 min read · May 23, 2020 -- One of the best features of IDEs are multi-cursors. android-studio intellij-13 intellij-idea multiple-columns textselection. We’ll also identify some scenarios when it. 但是其实想要在集成开发环境中顺手的完成代码的编写,其实单单熟练vim是不够的,毕竟IDEA的功能. It progressively selects more and more code. . Type mca ( m ulti c ursor a dd) to add (or remove) a virtual caret. Say I want to copy keys only. Double click on Comment with Line Comment. Three weeks ago we announced IntelliJ IDEA Preview and now we are preparing for the release. Fn + Enter = Ins since no Ins key exists on the macbook pro. Press Ctrl 0F or select Edit | Find | Find. There is no fast way to perform the reverse search yet, but you can open Settings ( Preferences on Mac) | Keymap and use the filter by shortcut to find the corresponding action. But multi cursors are not that useful in Eclipse as in VSCode, because if you press Ctrl+shift+right,. The Terminal saves tabs and sessions when you close the project or IntelliJ IDEA. g. Cut them with Ctrl + x (yes, each cursor gets its own "clipboard") Delete the _ with. Alternatively, to add multiple carets, you can press Alt/Ctrl twice, and then without releasing it, press the Up or Down. To demonstrate, let me show you what I mean in the following steps. IntelliJ shortcut and keyboard layout. Press them all together and simultaneously move the mouse or cursors to select the text. Shift+End to select until the end of the current line, or . For getting the column: Windows: CTRL + CTRL(Hold) + ↑ / ↓. " key). out. You can use it to rename classes, packages, files, methods, etc. Alt Click and drag the mouse to make the selection. On day 92, I found out that following keys were not identified in the automated extraction: bitstreamformats. With VSCode Ctrl + d. 6 Answers. The default size of the clipboard is 5; it will show the last five things have have been copied. WebStorm treats your code as regular text. Alt + Shift on Windows or Linux. To close a tab, click on the Terminal toolbar or press Ctrl F4. Are there any code examples left?This video shows you how to handle multiple cursors in IdeaVim using the multiple cursors plugin. When there are two or more simultaneous cursors, they are called multiple cursors. This is a feature that makes it possible to edit multiple lines at the same time. They allow you to type the same text at multiple places at the same time. Place the caret at one corner of the rectangle, and then Alt Shift Middle click at the diagonally opposite corner. Use your vim settings with IdeaVim. If you have a problem with organisation of the code you can use Ctrl+Alt+L to format the code. Formatting and cleaning. The Terminal saves tabs and sessions when you close the project or IntelliJ IDEA. Use this tag when multiple cursors are important to the question's topic. However, I don’t rely on this plugin to rename variables or functions because the IDE refactoring feature is better. Commenting out each line of selected code for Mac users without numpad would have to add a keyboard shortcut: Navigate to settings: Preferences > Keymap > Main menu > Code. IntelliJ Idea has a very cool feature of changing multiple lines simultaneously. 0. Click OK to save the shortcut. ⌘ + [option] + click if you're on a mac. How to use multiple cursors on IntelliJ keyboard? This feature can be toggled using Edit → Column selection. Looks like the fix was easy. Looks like the fix was easy. Place the caret at one corner of the rectangle, and then Alt Shift Middle click at the diagonally opposite corner. IdeaVim Casts #8: Multiple-Cursors. + Read More Here There is an option to get multiple cursor with Ctrl + alt + mouse left long click on all the lines that you want to select. Use Ctrl+Alt+Enter (or ⌥⌘Enter) to start a new line before your current line. Advanced editor actions, such as code completion and live templates are supported as well and will apply to each caret. select all: <A-n> start multicursor and directly select all matches. I would like to fill the searching word by the word under the cursor automatically. More about this new improvement in IntelliJ blogpost here. If I use the mouse to start making a selection, then the arrow keys do extend the selection. vladmashk • 3 yr. CMD + SHIFT + OPTION + click and drag lets you drag to add multiple cursors to the same point on many lines. Alternatively, Ctrl+Alt can be used to place multiple cursors without selecting, even in the same line or in non adjacent lines. This can greatly improve IDEA's performance. olitv •. Cmd-down works for several applications. Assume the following piece of code :"aaaaaaaaa","bbb","ccccccccccccc. To add/remove a caret, press Alt+Shift and select cursor locations with the mouse. IntelliJ Idea has a very cool feature of changing multiple lines simultaneously. Another way it to press Ctrl (Lin/Win) or ⌥ (macOS) twice then hold down and move up/down, that could be useful for items that are aligned. Type "Add Cursor" into the "Search" box and it shows only the commands that contain "Add Cursor" in their name. Apache NetBeans Bugzilla – Bug 200027 Multiline / Multiselection / Multicursor Editing such as in Notepad++, Sublime, and IntelliJ. Hadi Hariri, Developer Advocacy Lead at JetBrains, presented his talk at JavaZone entitled 'IntelliJ IDEA T. Column Selection. 2 Answers. Put your. I must be doing something wrong. Create Rectangular Selection. Tap: Control + G - Every tap combination select the new same value. intellij. The drag-column-select that you see is useful when text elements are functionally aligned in your file, but in column select mode it might be even more useful when you figure out you can hold Option (IIRC—on Mac) then click multiple. public void sth (String b, String. On. Move Caret to Text Start with Selection. Hold: Option + Mouse Click - Select multiline with a mouse. The quick documentation pop-up window. 2022-11-13. Admittedly, you'll have to use another keybind than <leader>cl, but this does work with multiple lines selected in visual mode. Reload to refresh your session. intellij-idea ×. Right click on the left side bar > Show Line Numbers. IntelliJ IDEA tips, multi-cursor input at the same time. I usually prefer using ‘main’ because it is simpler to remember. That moves to the end of the word while selecting However, the <A-n> keys are not the keys used by the extension that IdeaVim's multiple-cursors is based on ( terryma/vim-multiple-cursors ). Alt Click and drag the mouse to make the selection. Alexander Barker's answer above only works if you use the IntelliJ keymap in settings: I was using the VSCode KeyMap and found that it didn't work. For example, this simple example will create three variables of the same type, the type of which I enter/edit after I expand the template. . The One Shortcut. Developers can then use the ‘Ctrl+Alt+Shift+Arrow’ key combination to add or remove carets. To do so, use one of the following ways: On the status bar of the LightEdit mode, click Access full IDE and from the list of options, select how you want to proceed such as open the current file in the project, open the recent project, or open the new one. They allow you to type the same text at multiple places at the same time. The option to change this is called "Maximum number of contents to keep. For instance: c, s, I, A work without any issues. Edit You have to update the macro definition to similar to this:Use Ctrl+Alt+Enter (or ⌥⌘Enter) to start a new line above the current line. You can also “shelve” changelists, similarly to git stash, but from our point of view the IntelliJ variant to be much more powerful. It seems somewhat hidden, but if you select multiple lines > click CTRL+F, then immediately click CTRL+R you are presented with the original multiline replace. 5, till 2019.