The distinction goes beyond how much these systems cost. If you are using Windows, you can also press Ctrl+F3. Change shell scripts location. Previous/next occurrence. With this feature you can: Set multiple cursors in the editor area: Alt + Mouse Click (Option + Mouse Click for Mac OS X). Select Next View or Tab. This is possible with your mouse by clicking while pressing the `⌥` key. txt) or view presentation slides online. Navigate with the Select In popup. This will create an executable file called flatpak-node in your home directory, with this content: #!/usr/bin/env sh flatpak-spawn --host node "$@" This will tell Flatpak to run the node binary on the host and pass along any parameters. Up with Selection. ※ショートカットが既に割り当てられていると Already assigned to と表示されます。. Click next to the Node Interpreter field, in the Node. This is definitely will be in handy: Check this out: 45. The Move Symbol Refactoring works for classes, functions, and. js and click Save. Effortlessly Split Panes and Navigate Between Code With the new Tab Multi-Select functionality, tabs become first-class citizens in the interface. Better security, as JBR17 is. It is possible to skip one by using Find Next (F3: Win, Linux, ⌘-G: Mac). keyboard-shortcut, editor-legacy. Do you want to select all the occurrences of a piece of code? How to use: Press Ctrl + Alt + Shift + J on Windows/Linux, and ⌘ + ^ + G on macOS. If you want to select all occurrences, press Ctrl + Shift + Alt + J (or Ctrl + Cmd + G on MacOS). Alternatively, for npm version 5. Restart the IDE once you make the changes. Enable function keys and check for possible conflicts with global OS. Click the arrow next to the Show all duplicates like this action and select Disable inspection. Includes keymaps for popular JetBrains products like IntelliJ Ultimate, WebStorm, PyCharm, PHP Storm, etc. Type the open bracket (, and the close bracket is automatically added for you. keyboard-shortcut, editor-legacy. New UI: Vertical split for tool windows. Activating 'Select Next Occurrence'. Click the arrow next to the Show all duplicates like this action and select Disable inspection. Sublime is a text editor while PHPStorm is an IDE. For navigation inside the editor, refer to Editor basics. Existing Templates: use this option to see the list of existing templates. WebStorm (and really all of the IntelliJ IDEs) support the plugins throughout their plugin ecosystem which leaves you with 100s of tools to handle your automation tasks. All keyboard shortcuts in VS Code can be customized via the keybindings. Please note that Select All Occurrences feature is on the way and will be available in one of the next EAPs. This is the Option-Command-E shortcut that I used in my example. Once you have opened a folder in WebStorm, the. React/JS file support:. If we made such a radical change, we’d have to restructure a lot of other things. 3 is better at detecting various Vitest tests, including . Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J. Solution 3 - Intellij Idea. This also automatically applies a filter by the selected method occurrence. Shift+ArrowDown. According to docs there's nothing keybinding by default to select previous occurrence. Next. Select all occurrences: Alt J: Select next occurrence: Alt Shift J: Unselect occurrence: Esc: Unselect all occurrences or carets #Debugging. You can also navigate to the stack trace of a call to view and analyze the exceptions. Go to Declaration: ⌘B or ⌘+Click / Ctrl+B or Ctrl+Click. KadzielawaKonrad. Removing the last occurrence from your selection is the same shortcut with Shift added: Shift + Alt + J On Linux and Windowss; ⇧ + ⌃ + G on Mac. I use Ctrl+D to add to selection (discrete multiple select) the next occurrence of the string (or substring) highlighted. js Interpreters dialog that opens, click , and then select Add WSL from the list. right arrow, to after the second period)WebStorm 2023. Select all occurrences: Alt J: Select next occurrence: Alt Shift J: Unselect occurrence: Esc: Unselect all occurrences or carets #Debugging. This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or. The panel finds the language in the editor and suggests code snippets based on the packages being used in your environment. Open the app, click the three dots next to your WebStorm installation, and select Settings. Visual Studio Code, WebStorm, and NetBeans are probably your best bets out of the 17 options considered. ","renderedFileInfo":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"lyuangg","repoName. If you are using Windows, you can also press Ctrl+F3. ctrl + d will select the current word and each time the command is repeated, it adds the next occurrence of the word to the selection. Enter the abbreviation that you’ll be using to invoke the. Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J. When creating an application, select the folder where the create-next-app package is stored. ","renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"rajivit. After upgrade to phpstorm 10 it became work in other way. This means that you can get straight to coding without having to install any extensions. Refactoring helps you keep your code solid, dry, and easy to maintain. Ctrl + D performs the find_under_expand command in sublime. Drag to Create Rectangular Selection. For example, the key2. 3 introduces support for Dev Container Features, providing a fast and convenient way to integrate additional tools, runtimes, and libraries that are essential for. Open the code snippets panel in WebStorm. Search Everywhere. A bookmark icon appears in the gutter next to the bookmarked line. 5. Select all occurrences: Выбрать все условия поиска: Alt + J: Select next occurrence: Выберите следующий поисковый запрос: Alt + Shift + J: Unselect occurrence: Отменить выбранные условия поиска: Esc: Unselect all occurrences or caretsClick the or icon to add a selection of the next occurrence or deselect the previous occurrence Alt+J or Alt+Shift+J. To add a line before the current one, press Control+Alt+Enter. Even if you don’t remember the exact name of the file, any part of its name will do. Now when I select some word and press Ctrl+F it immediately jumps to. Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux. WebStorm is a lightweight and intelligent IDE for front-end development and server-side JavaScript. ctrl + click or middle-mouse click will place another cursor in the place that's clicked. Actual. The selected template is displayed in the Preview field. Babel, the most commonly used transpiler, can be configured and used via WebStorm’s File Watchers. Call hierarchy ^⌥F12. END to jump to the end of each line. Select next occurrence: Alt + Shift + J : Unselect occurrence: Esc : Unselect all occurrences or carets: WebStorm: Running Cheat Sheet. Running. This basically searched for the next occurrence of the already selected text and selected it, so when I edit, it's edited on both. Teams. Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J To add or remove multiple carets, you can also press and hold the Alt key, then click at the next location of the caret. After upgrade to phpstorm 10 it became work in other way. This page is powered by a knowledgeable community that helps you make an informed decision. In order to select the next occurrence in JetBrains IDEs, you can use Alt + J (or Ctrl + G on MacOS). To save the password in WebStorm, select the Save password checkbox. If you want to Move Last Selection To Next Find Match then use Ctrl+K +Ctrl+D. IntelliJ IDEA can select more than one piece of code at a time. Add to Safari. WebStorm moves the caret to the next line. You can access replacement options by choosing the button next to the Find text box. Open the list of views, for example, to select a different view. Search everywhere. Built By the Slant team. Upon line breakSeveral 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. Control+Alt+ArrowUp. Navigate between the occurrences of the word at caret. If you want to quickly replace the target of your search in the whole file, press Control+Alt+Shift+J and type a new string. ctrl + d will select the current word and each time the command is repeated, add the next occurrence of the word to the selection. Wait for about 30 seconds and record the second snapshot. When you browse the occurrences, WebStorm displays the replacement hints, so you can view the potential. Double + Down. Control+Alt+ArrowUp. Type the open bracket (, and the close bracket is automatically added for you. Support for our collaborative development tool. We can immediately type to narrow our. I mean: TODO Comments: If you want that feature (not everyone does) you have TODO Highlight which is highly configurable (color, words to highlight, and so on). How can I select next occurrence in IDEA editors. json: And there you can assign keyboard shortcut to select previous occurrence: Go to the next occurrence of the word at the caret. Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux. Click the gutter stripes. 8. To run any of these refactorings, select the expression to refactor and choose Refactor | <target>. To choose a filter to apply. 15. Name and save the configuration. Each use of this shortcut will multi-select the next occurrences of the current selection. Recent locations ^H. InstallationLaunch Code Quick Open Ctrl. This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or. Switch to your enum class file. ReSharper also. Tooltip and Shortcut. Editing CTRL+Space. This is my personal favorite. After the selection is complete, you can start editing all the fragments as if they were all the same one. Alternatively, to. Open the Toolbox App, click the Toolbox App menu icon in the top right corner, and select Settings. Do one of the following: Successively press Alt+J to find and select the next occurrence of case-sensitively matching word or. Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux. Select all occurrences: Alt J: Select next occurrence: Alt Shift J: Unselect occurrence: Esc: Unselect all occurrences or carets #Debugging. js is a framework for developing user interfaces and advanced single-page applications. Nuxt-specific webpack setup is also supported. So let’s run the example: Create Node. In the settings window, search for ”Add Selection for Next Occurence” (PhpStorm 8. I can't find what the shortcut is to jump to the next selected word in Webstorm. That’s a significant commitment we aren’t ready to make at the moment. 6K views, 25 likes, 0 loves, 0 comments, 4 shares, Facebook Watch Videos from JetBrains: WebStorm Tip: Duplicate line with Cmd-D on macOS or Ctrl-D on Windows & Linux and move it up or down with. You. 4 Select 'SETTINGS' by left-clicking it, and you'll open the 'SETTINGS MENU' open. If necessary, WebStorm can generate a JavaScript Debug configuration and start it automatically together with the Node. First of all, there’s the editor with the right and left gutters that show line numbers, status of VSC-modified lines, errors and warnings, and some other useful info. To search and replace more complicated patterns, use the structural search and replace. You can narrow your search when you click , in the search field, or click to select a scope for your. Enter your search request. e. 1 in Manual). 2 you can use AltShiftG to add carets at the end of each selected line. Navigate with the Select In popup. Double + Down. You can change this setting. For more information, refer to Disable inspections. How can I select next occurrence in IDEA editors. 4. + Read More. Change shell scripts location. 3 is better at detecting various Vitest tests, including . Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J To add or remove multiple carets, you can also press and hold the Alt key, then click at the next location of the caret. I rebound the Duplicate Selection keybind ( editor. Find usages ^F7. It progressively selects more and more code. On macOS, the shortcut is Cmd + G. S. Alternatively, to add multiple. A project in WebStorm is a folder with the source code you edit, the libraries and tools you use (for example, in the node_modules subfolder), and various app configuration files (for example, package. Once you install it - the hardest thing for me was to force myself to use it after 2 months - I even type documents in webstorm and then copy it to Word. Down with Selection. . To add a line before the current one, press Control+Alt+Enter. Please note that default hotkey for multiple selection (multiple carets) add/remove caret has been changed from PhpStorm 8 EAP 138. To highlight a word at the caret you are trying to locate, select Edit | Find | Next Occurrence of the Word at Caret from the main menu. Multiple selections: use keyboard shortcuts like ⌘+D to select the next occurrence of the current word, ⌘+K, ⌘+D to skip an occurrence. You can click or press Alt+ArrowDown to show the list of recent search entries. We are going to check if we can observe the predicted situation in the heap snapshot. If the class is opened in the editor, press Alt F1 to open the Select In popup. Define the relevant. Navigating among usages. This shortcut opens a search window with all menu items and other IDE actions, whether they have a keyboard shortcut or not. Otherwise, if the option is cleared, key sequences are pasted from. Settings -> Keymap -> Editor Actions. Under Settings Keymap it is possible to assign. WebStorm 2020. ","renderedFileInfo":null,"shortPath":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"dlxclem. Cursors can then be controlled together. لقد تدربت على استخدام مفاتيح الاختصار الخاصة بـ WebStorm لفترة من الوقت ، ولكن لأنني لم أستخدمها لفترة طويلة ، أتذكر القليل منها فقط. json: And there you can. Shortcuts de webstorm - Free download as PDF File (. <ALT-n>: Start multi cursor mode, select the current word, or select the next occurrence. In the Add WSL Node Interpreter dialog that opens, select the Linux distribution you’re using and specify the path to Node. js, full integration with Volta, improvements for Vue and Docker, and more. Alt + Shift + F10 Select configuration and run Alt + Shift + F9 Select configuration and debug Shift + F10 Run Shift + F9 Debug Ctrl + Shift + F10 Run context configuration from editor Alt + Shift + R Rerun tests Alt + F11 Run Gulp/Grunt/npm tasks Debugging F8 Step over F7 Step into Shift + F7 Smart step into Shift + F8 Step out] Go to next editor tab [ Go to previous editor tab F12 Go back to previous tool window Go to editor (from tool window) L Go to line E Recent files popup Navigate back Navigate forward Navigate to last edit location F1 Select current file or symbol in any view B Go to implementation(s) Space , Y Open quick definition lookup3. Use Shift+End to select a line to the end if the cursor is in the beginning of the line. If you do a comparison between the two on very low end hardware, VSCode might be better, but 1) you would be punishing yourself if you have to work that way to begin with and 2) there are better tools if the goal is to run on low end hardware. When your focus is in the editor, press / or choose Navigate | Next/Previous Member in the main menu. Not totally clear what it's actually doing but it doesn't do the expected behavior. 1 Answer. I just know Alt+J is similar to Ctrl+D (found from Keymappings in Android. Select from the end of each line to the start. KadzielawaKonrad. ; We also recommend our contributors to enable TSLint in WebStorm to highlight and auto-fix. GoLand places the highlighted string into the search field. Webstorm recognizes the package's inner exports. Group by. Press Ctrl + Enter or choose Scope to This in the context menu. Select all occurrences: ⌃⌘G / Shift+Ctrl+Alt+J. ] Select till code block end [ Select till code block start Delete to word end Delete to word start + / - Expand/collapse code block + Expand all - Collapse all W Close active editor tab Multiple carets and selections + Click Add or remove caret G Select all occurrences G Select next occurrence G Unselect occurrenceMulti cursor selection in JetBrains IDEs: - Select next occurrence of the current word or selection: Ctrl-G on macOS and Alt-J on Windows and Linux - Select all occurrences: Ctrl-Cmd-G /. This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or. The open source version of Visual Studio, called Visual Studio Community, is accessible for free to developers using Linux. WebStorm 2022. js Interpreters dialog with a list of all the currently configured interpreters, click on the toolbar and select Add Remote from the context menu . 0 Answers Avg Quality 2/10. Copy or cut those lines. Select all occurrences: ⌃⌘G / Shift+Ctrl+Alt+J. To create an empty WebStorm project. WebStorm 2023. Edit > Find > Find Previous/Move to Previous Occurrence or shift-command-G); this will select the "xcursorx" within the ". You can even select all occurrences at once, by pressing Control+Alt+Shift+J. js developers are embracing Docker for repeatable builds, and WebStorm supports Docker-oriented workflows: Quickly bootstrap your Node. Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J. If is unselected in the search field, WebStorm searches for both lower and upper cases. Jump to next/previous word boundaries: when you select this option, the caret moves forward to the start of the next word, and when moved backwards, the caret jumps to the end of the previous word. IntelliJ IDEA moves the caret to the previous line. For example, if you run three SELECT statements in the query console, you will see three tabs in the tool window. Otherwise, select the desired range with the mouse or with keyboard shortcuts. 4. In addition to keymaps distributed with JetBrains Rider, you can install other keymaps via plugins, for example Eclipse Keymap or NetBeans Keymap. ts file. Click on the gear icon in the Commit tool window, select Run Tests, and choose the desired run configuration. To add a line after the current one, press Shift+Enter. runIf and . How replace somthng in all files. Sorted by: 1. + Read More. js Run Configuration and select Allow taking heap snapshots. Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux Select all occurrences: Ctrl+Cmd+G / Shift+Ctrl+Alt+J To add or remove multiple carets, you can also press and hold the Alt key, then click at the next location of the caret. Otherwise, select the desired range with the mouse or with keyboard shortcuts. Otherwise, select the desired range with the mouse or with keyboard shortcuts. Not totally clear what it's actually doing but it doesn't do the expected behavior. - to restore single caret mode, use Esc. now type foo, it will append it to each line: Now deselect everything with ESCAPE and switch back to normal selection mode with ALT + SHIFT + INSERT. S. If you need to undo or redo your changes, press Control+Z/Control+Shift+Z respectively. Select from the end of each line to the start. You can do this repeatedly to select even more occurrences of the same text. In VSCode there is a shortcut for selecting all occurrences of current selection. A quick-fix will also be shown when. 2 also includes several other improvements for Vue support. This is definitely will be in handy: Check this out: 45. json includes the desire package in the. To add a run configuration to. A project in WebStorm is a folder with the source code you edit, the libraries and tools you use (for example, in the node_modules subfolder), and various app configuration files (for example, package. 1, the first bug-fix update for WebStorm 2023. Just remember that for carets in a vertical line, press Option (macOS) and Ctrl (Windows/Linux) twice, holding it down the second time. Click next to the Node interpreter field. 3: Disable automatic highlighting of usages by unchecking: Preferences | Editor | General | Highlight usages of element at caret. Vue. Debugger: Out of the box in VSCode (is that icon on the side. 1K views, 96 likes, 9 loves, 16 comments, 11 shares, Facebook Watch Videos from JetBrains: WebStorm Tip: Press ^G / Alt-J to select the next occurrence. Connect and share knowledge within a single location that is structured and easy to search. You can also make a multiple selection by holding. Create Rectangular Selection. All other calls except the subtree of the selected node are hidden. Go to Edit | Find Usages | Find Usages in File Ctrl F7. js framework. In the dialog that opens, select the scope where IntelliJ IDEA should look for code duplicates. OPTION+Return. Select next tab (Terminal). Click the SSH/SSL tab and select the Use SSL checkbox. If you are using Windows,. Click on the + icon and select the configuration type: we select Node. How can I select next occurrence in IDEA editors; Pycharm: run only part of my Python file; How to debug Django commands in PyCharm; How to run Pylint with PyCharm; How to auto format code in WebStorm? Format string, integer with leading zeros; Code cleanup in netbeans; Webstorm not recognising JavaScript file; Format ints into string of hex1 Answer. InstallationLaunch Code Quick Open Ctrl. After you open a particular method call, it becomes a root node in Call Tree. 0, WebStorm will automatically find the webpack config file and use the module resolution rules from it for coding assistance. 1 include: Frameworks and Technologies: better support for Next. json files. You can. The new action for working with multiple carets (Alt+Shift+G) lets you quickly place carets at the end of each selected line and removes the selection as soon as all carets are added. Deselect Last Occurrence. json or . SSH. 1) On mac the default is ctrl+G, but you can change it to ctrl+D (or cmd+D on mac)Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: ⌃G on macOS and Alt+J on Windows and Linux. Basic code completion. Otherwise, select the desired range with the mouse or with keyboard shortcuts. GIF. js project with TypeScript enabled, and that's all. From the create-next-app list, select npx create-next-app. Just like any other professional IDE, WebStorm comes with all core functionality included. The commentary plugin emulates vim-commentary, and enables. Share. There will be 'BOLD ITEMS' and regular weighted SUB ITEMS. Enable postfix completion. Follow. 1. To see on what element the caret is currently positioned, press Alt+Q. json file, place the caret on the package version you want to update, then press Alt+Enter and select Update ‘package name’ to the latest version. Alt+ArrowRight. Close tasks. Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux. Auto expand key sequences upon paste. Ctrl + Alt + S. WebStorm now better understands Preact, SolidJS, and other JSX-based frameworks, where a class attribute is defined in the corresponding d. If you want to select words, place the caret at an occurrence of the desired word. I’m currently trying to move to IDEA editors (such as WebStorm, PHPStorm, PyCharm, etc) but didn’t find something like this command in this IDE yet. Item. Switch to your enum class file. Next. You can also make a multiple. Another way to select text is with Ctrl + W, IntelliJ IDEA’s extend selection tool. 3 supports Code With Me (EAP), our new tool for collaborative development and pair programming. A simple modifier when performing actions will split the interface to show multiple tabs at once. Pressing double Shift again or Alt+N for mnemonics will select the Include non-project items checkbox and the list of search results will extend to non-project related items. Learn more about TeamsNavigate with the Select In popup. Additionally, WebStorm supports the typesVersions field in package. Multi-cursor selection in WebStorm: Select next occurrence of the current word or selection: Ctrl+G on macOS and Alt+J on Windows and Linux. Name the component and select. For each found code duplicate, IntelliJ IDEA will prompt you to. Updated plugin configuration. Turning Off Code Completion in SuiteCloud IDE Plug-in for WebStorm. To Activate 'Select Next Occurrence', you can rely on a straightforward keyboard shortcut. Stepping is the process of controlling step-by-step execution of the program. On the next page, select the WSL instance and click Next. To take it one step further we added an opportunity to use autocompletion (hit Ctrl+Space) and live templates with multiple selection. Subscription costs and open source access. Select. Starting with Nuxt. Alternatively, you can right-click the icon and assign the new placement for the tool window using the Move to action. Delete to word end. Press F3 to go to the next occurrence. Select next occurrence of current selection; Select next exact occurrence (overrides Find-dialog) Select previous occurrence; Select previous exact occurrence (overrides Find-dialog) Select all occurrences; Convert a selection into multiple cursors; Skip occurrence; Undo occurrence; Add caret above/below; Use multiple carets to edit editing. From the New Project dialog, select the project type: SuiteApp. Copy or cut those lines. IntelliJ IDEA KeybindingsKeisuke Kato 1,547,901 installs Free SponsorPort IntelliJ IDEA Keybindings, including for WebStorm, PyCharm, PHP Storm, etc. If the file is opened in the editor, press Alt F1 to open the Select In popup. WebStorm finds and replaces fragments of source code,. For more information, visit WebStorm Help. 2 EAP build #2 is now available! If you’re unfamiliar with our Early Access Program or if you want to catch up on all the new features, check out our previous EAP blog posts. The Toolbox App is the easiest way to get the EAP builds and keep your stable WebStorm version and any EAP versions up to date. Similarly, Use Shift+Home to select a line to the beginning if the. Pro tip: ALT + SHIFT + INSERT to enter block-mode. This quick reference cheat sheet lists the default keyboard shortcuts for WebStorm running on Windows/Linux or. Click a stripe in the marker bar to navigate to the respective usage location. Prettier - Code Formatter for automatic formatting of source files on save. You can press Tab to open the context menu and. js . 7, supporting new language features like moduleSuffixes and ESM in Node. When you invoke the rename Shift F6 action, IntelliJ IDEA displays and next to the highlighted element. It is available on GitHub and licensed through MIT. WebStorm is a full-blown IDE made by JetBrains for web, JavaScript,. action. Smart tag rendering: Tags will occupy nearby whitespace if available, rather than block adjacent text. [Control+Command+G] hotkey will select only next Occurrence. Select a language for which you want to configure the indentation. 4. Use f{character} (find) to move to the next occurrence of a character in a line. Even if you don’t remember the exact name of the file, any part of its name will do. Quickly find any file, action, class, symbol, tool window, or setting in WebStorm, in your project, and in the current Git repository. With Select Next Occurrence or Alt+J (Ctrl-G on Mac OS X) we can add the next occurrence of the current word to the selection and then easily replace it.