If there is no match for auto completion, I get "No Completions Found" message.
The problem is, when I got this message, I cannot input anything after that. To get able to input something, I have to move to different window and come back (e.g. Command Window -> Editor -> Command Window) or click the window. But this process is really annoying.
How can I continue typing without doing these annoying things written above? I am using MATLAB2011b on Windows 7.
Thank you in advance.
Related
I am sorry if the question doesn't make sense, I didn't really know how to phrase it properly.
What I am trying to achieve is similar to how it works in the command prompt when running a python file. When I run a python file from the command prompt, the command prompt window will jump to the last outputted line during the running of the program, so what is currently being outputted is always visible. However in my current VS Code set up, the output window will not jump to the last line as it is printed, and I have to scroll through the output window to see what is happening with the program.
I am currently using the latest version of VS Code and using the code-runner extension as well. Please let me know if what I am asking does not really make sense.
Thanks
As far as I understand your question, I would like to answer it.
To Auto-Scroll to the last output, you can just click on the Lock Icon near the Clear Console icon.
I use plain emacs in a terminal and like it that way (no spacemacs or gui emacs for me). In the gui versions, error messages pop up in a floating window, I think, and can be batted away. In my setup they open in a new split window and steal focus. To get rid of it I have to move the pointer back to my code window and then, if I want my code window full width, maximize the code window by deleting the other error window with a binding (which keeps the error window in the buffer list for reference). It's a lot of keystrokes for a simple error message. Ideally, I would like to not lose the focus from my code when they appear, and banish the error message window with a single binding (but keep it in the buffer list for reference... ideally being able to recall it in the way it initially appeared [in a split, without stealing focus] with another binding?
It is possible to dismiss an error window with C-x 0 (delete-window) if it has focus, but if previously you had two windows open in, say, a horizontal split, the error appears in the other window, and dismissing the error window removes your previous split. I create lots of unpredictable configurations so using a window arranger will not work for me to restore some preconfigured window arrangement.
How could I achieve this?
you can disable this behavior by setting two cider config vars to nil:
cider-show-error-buffer and cider-auto-select-error-buffer,
this would prevent the default behavior, still allowing you to manually select error buffer when needed with cider-selector.
Still i find it more convenient to use the popwin package for that, showing the error buffer as a popup, without breaking your windows layout.
(push "*cider-error*" popwin:special-display-config)
Not sure exactly if the errors you mention are compilation errors when developing Clojure/script but, in my experience (I also use Emacs in a terminal), you can dismiss the error message just by pressing q and it will close the frame and move the cursor back to the original frame.
Here's a short video of my experience: https://imgur.com/a/9jzr4yb
I also tried it having more than one frame, and it works as expected: it splits only the code editor frame to show the error; if you dismiss the error it removes the new frame and will keep your existing layout.
One option is to enable winner-mode and just bind winner-undo/winner-redo to keys you want to cycle between window configurations. After an error pops up a new frame, it is just one call to winner-undo to restore the prior configuration. This also gives you the desired behaviour for recalling the error configuration with winner-redo.
Every time I change any of the settings in VSCode, the command plate to come up with "null password (Press 'Enter' to confirm or 'Escape' to cancel)". Hitting enter is enough to make things work fine, however, it is still annoying. I am not sure of the reason behind this and was wondering if anybody came across something similar.
Attached is a picture of the command plate (just in case...).
I just ran into the same issue. It looks like the culprit is SQLTools.
Here's the line of code that produces the dialog:
https://github.com/mtxr/vscode-sqltools/blob/0865cf0/src/sqltools.ts#L419-L424
This was super hard to track down, since it took me a while to figure out that the "Press 'Enter' to confirm" part is built-in to all VSCode prompt dialogs, and that string is not provided by the extension.
Putting this in my settings.json made the extension stop prompting me:
"sqltools.autoConnectTo": "blah",
(The default value is null. Putting a string somehow causes it to generate an error in the console but whatever, it solves the problem.)
I hope this works for you! You can also:
Disable or uninstall the extension if you don't need it at all
File an issue to let the author know: https://github.com/mtxr/vscode-sqltools/issues
Like interestinglythere said, this is likely caused by the SQLTools extension.
To fix, do this:
Press Ctrl+, to open settings.json
Add line "sqltools.autoConnectTo": "Prevent Dialog Box",
Save and open the command palette (Ctrl+Shift+P) to reload with the command :
>Reload Window
Done!
I have netbeans stuck pushing into a repository (no errors of course, that would be too easy). While clicking around and trying to find out what is wrong, I came across this option:
I tried clicking on it - I never noticed it before. It doesn't do anything but I have not found any docs on that feature either. The problem is that these keywords match many other things: netbeans watch process.
So do you have any idea what is it supposed to do?
In the netbeans progress indication documentation, you can find the definition you are looking for:
Show Output - opens the appropriate "output" window (valid only when the "output" window exists)
Watch Process - puts process to the status line
Cancel Process - cancels and removes the process from the pop-up list
In the help from the netbeans menu you can find the definition of the status line:
Status Line
The Source Editor status line is in the bottom right corner of the IDE. The first area of the status line shows the current line number and row number in the form line:row. The second area of the status line indicates the insertion mode (INS or OVR). The text area on the right is used for status messages.
So the watch process option is used to place the selected process in the status line.
I hope this question is appropriate for Stack Overflow; if not, I apologize. For some reason the close all functionality on my installation of eclipse stopped working. I can still close windows, but I can't close all. Neither the hot key nor the menu functionality works anymore. My theory is that it has something to do with me occasionally breaking source pages out onto other screens. Is there a way to fix this or get some sort of output out of eclipse that will provide some clues?
There are a couple of things you can try. The first step is the error log (Windows -> Show View -> Error Log).
If you can't see anything in the log, you may try to start Eclipse with java instead of javaw. Just add
-vm
...path-to-java.../java
to eclipse.ini. Maybe it prints something useful to stdout.
If that also doesn't help, try closing one window manually (for example with Ctrl+W) and then "Close All" again. Repeat until it works. That might give you a clue which window prevents Eclipse from closing everything.
If that doesn't help: You can also close windows by opening the window list (Ctrl+E). Instead of search, go down once (so the selection is in the list). You can now close windows using Delete (key repeat works but the UI lags begind).