I want to close the currently foreground file (tab) without closing the other items in this pane (the settings window, other open file)
ctrl-w is bound to pane:close this does not do what i want.
ctrl-shift-t is bound to pane:reopen-closed-item this does the opposite of what I want, but I cannot find the inverse of this
I want a keyboard shortcut equivalent to clicking the small x on the tab.
I have searched quite a bit, and cannot find a package or keybinding that provides this.
by a little search I found this discussion inside of atom forum which says:
If you search in Settings > Keybindings for “pane” you’ll find that ⌘K⌘W is mapped to pane:close. You can either use that mapping or a new one of your own devising to map to pane:close.
this is the link https://discuss.atom.io/t/close-pane-keyboard-shortcut/5701
** ---- update ---- **
I downloaded and installed the atom on my windows and saw the ctrl-w works pretty ok so I looked at the settings and saw it set to core:close command
Related
There's an option in Jupyter Notebooks where you can select some cells, and then hit F, which opens up a Find & Replace feature.
This shortcut doesn't work in Jupyter Lab. It's not in the Commands list and it's not in the Edit Menu (there is only Find -- and Find Next and Find Previous). Nor can I find a global (not specific to a cell selection) Find & Replace feature.
Does this feature exist? I've found old mentions of it on the internet -- has it been removed? I'm using Jupyter Lab version 1.2.3.
The Find & Replace feature was not removed, but the way it is named in the menu (simply Find...) and the UI which requires the user to click on a small arrow to access it may be confusing. Please see the GIF below which demonstrates how to use the search & replace feature:
If you need a slightly more powerful refactoring tool (i.e. distinguishing the variable scopes) you may want to check out my jupyterlab-lsp project which now includes support for the rename action (see here for a demonstration GIF, but please install a newer version, not the tag linked).
I am not sure if the original question was answered correctly. If I were to find and replace in only a selected cell, the top rated solution doesn't seem to work (in JupyterLab). The desired result is obtained by clicking on the ... button in the F&R menu. Check the attached snippet.
It can be easily done using keyboard in Jupyter as well.
Step 1: If you are inside any code block/cell, press Esc.
Step 2: Press F
Does JupyterLab support a functionality to jump to previously selected or active cell?
Use case #1: sometimes I accidentally hit "Home" or "End" while in Command mode (thinking that I am in Editing mode) and I jump to the very top of my notebook. Then I need to find the place where I was doing the editing.
Use case #2: Sometimes its convenient to do the above on purpose. Jump to the bottom, run a side calculation and then come back to the previously active cell to continue my main line coding.
It would also be nice to assign a shortcut to this command if it exists. I've looked through this github thread, but have not found an appropriate command.
This seems a rather silly question: but I can't find (for more than an hour) now a button to "reset" all standard windows.. I accidentally closed quite a lot of them during a crash. (Especially the "command window" and the signals-in-region during simulation seem to be gone permanently).
From "ModelSim User’s Manual, v10.1d", appendix F:
Most user GUI preferences are stored as Tcl variables in the .modelsim file on Unix/Linux
platforms or the Registry on Windows platforms.
You may consider to look into .modelsim, and possibly delete it, together with .modelsim.bak. The motivation for this suggestion is that .modelsim contains setup details for the layout of panes. .modelsim will (should!) be regenerated next time you open modelsim.
At the menu bar (main window), click on layout and then choose reset. Most of the windows will be reset.
If I type a line of R code at the cursor and press 'Enter' I can immediately retrieve that code by pressing the up-arrow key once. However, if I am typing a line of code and accidentally press the down-arrow key once then that line of code disappears and I cannot retrieve it. This is a minor, but ever-present annoyance, most frustrating when typing data into a vector.
Is there a way to retrieve a line of code after accidentally pressing the down-arrow key?
I am using a Windows machine and the R GUI found on my desktop immediately after installation... ...I think one of the questions during installation is whether I want a short-cut on my desktop, and I select 'yes'.
this is completely dependent on the GUI. I believe (but am not certain) that RStudio, for example, preserves what you have typed.
While not a direct solution, what might be helpful is to use edit in an external window. I dont use windows, but I suspect if you hit ctrl+n you will get an editor in which you can then use F5 or ctrl+R to execute that specific line.
Personally, I use Sublime Text 2, and cmd+enter gets my code executed at the console
I found that if I open R and click File then New Script in the R menu an editor will open. I can type a line of R code in that editor. Then I can highlight that line of code and press Ctrl+R, as mentioned in Ricardo Saporta's answer and djhurio's comment. By pressing Ctrl+R that line of R code will execute. The line of R code remains visible in the editor and seems safe from being lost even if I accidentally hit the down-arrow key.
Hopefully this builds on Ricardo Saporta's answer enough to warrant being posted as another answer, although I would not have figured this out without Ricardo's and djhurio's help.
P.S.
In retrospect, I see now this is what Ricardo meant in his second comment beneath his answer.
I'm a new user to Eclipse (Juno) with SUSE 11 Linux,I am looking for specifying a user defined dictionary so that I can stop all the "Trolltech" and "Qt" references in my Qt projects showing up as spelling errors, without turning off all spell checking.
I found following instructions online, I select Window | Preferences | Editors | Text Editors | Spelling and get a panel including a field in which to specify a user defined dictionary. I gather all this needs to be, is a text file. I have tried two variations for this:
As root,
created an /opt/eclipse/dictionary/dictionary.txt file, file
permissions set 777 but higher level directories 755s
created a /dictionary/dictionary.txt file, both directory and file permissions
set 777.
I have at this point, in each case,
specified the full (absolute) path to one of these files in the
"User defined dictionary" field,
clicked either Apply | OK to set the path, or just OK, exiting the dialog
seen no change in the Eclipse editor, which still shows these terms as misspellings
at the level of the project, attempted Refresh of the project from
the right-mouse popup menu
tried re-indexing at the level of the project using Index | Rebuild from the right-mouse popup menu
tried refreshing files at the level of the project using Index |
Freshen All Files from the right-mouse popup menu (no reason
to believe that either of steps 5 or 6 will help, but I'm basically
trying everything that seems available to be tried)
closed and re-opened the project
closed and re-opened the IDE.
When I restart the IDE and go back into Window | Preferences, etc., the panel shows the dictionary text file I've specified AS specified, but there seems to be no functional recognition of this by the IDE.
Adding to the joy, when I hover above either of the "errors" I'd like to stop seeing, I don't get the quick fix option of adding the error word to the dictionary, because last week I ticked the option that said "don't prompt to add to a dictionary, if no dictionary exists". Doesn't appear that any dictionary is being recognized as existing.
Can anyone tell me what I'm missing, here?
I'm just adding this here because Dorothy didn't answer his own question even after 3 years. This will stop the question showing up in the unanswered category and provide space for newer questions.
Dorothy Wight:
OK, I figured it out. The thing none of the instructions I'd read mentioned, is that in the Windows | Preferences etc., panel, you have to change from "Default spelling engine" to "C/C++ spelling engine". Then you re-specify the dictionary and it works.