My MATLAB editor stopped working. I'm not able to open any file via UI or command (edit file.m). It all started when I was editing a script using matlab-emacs.
I found a workaround to open files, but it is annoying. First, I need to click with the right button of the mouse in the file I want to open. Then, I select Compare against > Choose. Clicking in one of the line numbers in the left panel opens the MATLAB editor. Once I'm in the editor, I can open any other file by choosing File > Open as Text.... I also tried reinstalling MATLAB, but the problem remained.
I am using MATLAB R2011a and Ubuntu 11.10.
I spent a big amount of time reinstalling it, when it was far more simple.
Select File > Preferences...
In Editor/Debugger, my editor was set as a blank Text editor, instead of MATLAB Editor.
Just pick MATLAB Editor in the radio button.
matlab-emacs extension probably changed my settings.
Related
The Netbeans IDE menu icons(new project, open project, etc) are all extremely small. Any pop-up menus that open while I am working start with very small dimensions, forcing me to expand them so I can see what I am doing.
How do I increase these sizes?
I looked up a solution that involved editing the netbeans.conf file, but if I tried to save the edits, the computer said I needed admin permission(I am an admin in the computer).
What can I do to resolve this?
To edit netbeans.conf you text editor must be running in administrative mode. In order to put it in administrator mode follow these steps.
1.) Use the windows search bar and search for the text editor you want to use.
2.) right click on it and then click on "Run as administrator"
3.) use your text editor to open the netbeans.conf
Now you should be able to edit it.
I have a very weird problem with Visual studio code (Version 1.20.1 (1.20.1)).
In full screen mode on a Mac. (High Sierra) when I double click a file. it always opens the file above it. Meaning that it opens the wrong file (not the one which I double clicked).
Please have a look at this video which I recorded.
https://youtu.be/VG8-AnEpZjY
The video starts with me double click on the file "Tables.scala" but the editor opens the file "ScanFromCassandra" which is above it.
Then I double click Models.scala and it opens the file correctly.
Then I double click Config.scala but the editor opens CommonFlow.scala
This is very very annoying. I don't know if anyone else is facing this issue or not.
Edit:: If I switch off the "open editors" window, then the issue disappears. but I like the "open editors" window. I think the open editors window causes some kind of "jumping" in vscode making it open wrong files.
Actually I figured out the answer after using the editor for some time.
in VSCode when trying to open files in the "explorer" we have to single click on the file name. not double click.
If I single click on the file name it works perfectly.
The problem comes when I double click but that's not required. a single click on the file name to open it works smoothly.
I'm new to RubyMine 7 on Mac.
I used to use Sublime Text 3 and I love RubyMine so far except its lack of file previewing.
In Sublime Text, when clicking a file in the sidebar (file explorer), the selected file content shows in an editor tab for temporary viewing.
If I select another file, then the same tab changes to the content of the newly selected file.
I've been searching for this preference setting in RubyMine, or in a plugin, but I've had no luck.
A similar feature is "Autoscroll to source" but this feature opens files rather than previewing them.
If anyone knows how to do Sublime Text-like file content previewing in RubyMine, I'd appreciate it.
RubyMine doesn't have a feature exactly like Sublime Text file previewing.
The Quick Definition action can sometimes meet the same need. When invoked on a file, it opens a popup with the file's contents. You can invoke it on a file in the Project or Find pane and probably other panes, dialogs, popups, etc. that list files. (You can also invoke it in an editor on an identifier such as a class, module, or variable; it will show the code that defines the identifier.) Invoke Quick Definition with ⌥-space or ⌘Y in the Mac OS X 10.5+ keymap; use ^⇧I on Windows or check Preferences → Keymap for other keymaps, or use ⇧⌘A qd ⏎. Hit Escape or click outside the popup to close it.
When you invoke Quick Definition on a file in the Project pane and navigate to other files in that pane (with down and up arrows to move between files, and right and left arrows or Enter to open and close directories), the Quick Definition popup will stay open and update to the currently selected file, which is relatively close to Sublime Text file previewing. You can also hit Enter to open a file, F4 to open a file and move focus to the editor, edit the file, ⌘1 to jump back to the Project pane, etc., all with the Quick Definition popup still open, until you choose to close it.
If that isn't close enough, there are two feature requests for Sublime Text-like file previewing in JetBrains IDEs which you can vote for:
Preview currently selected file in project window
File Preview features from Sublime
I am having an issue with the Remove Previous Word shortcut in MATLAB.
It works in the editor, but not in the command window. I tried to edit it in the keyboard shortcut preferences page, but you are only allowed to select MATLAB Editor in the Tools with shortcut section, it does not give you the option to add the Command Window.
Does anyone have a workaround for this, or at least know a reason why this wouldn't be implemented for the command window?
I'm used to using tabs rather than having many new windows open. I've recently changed (work) computers and now whenever I open an old script or start writing a new one it opens a new instance of the matlab editor. The question is, does anybody know how to change the default to a new tab within the same editor? (hope that makes sense).
Thanks
Open 2 scripts or more. On one of the editor windows press the circled triangle (I am sure it has a proper name):
Select Dock All in Editor.
The files should appear as tabs docked to the matlab desktop.
You can now undock the editor using the same button (you should undock the editor, not a specific file)
Any file you open now should be in a new tab.