What to do with the inconvenient tab suggestions of Matlab - matlab

Why doesn't Matlab put your variable's names on the top of it's suggestion like Eclipse. It's not smart to put everything in alphabetical order. Scrolling down to the function/variable you are looking for sometimes takes more time than typing it yourself. Besides it should also complete a function by writing the parenthesis and placing the courser in the middle of the parenthesis. Is there any way I can change the preferences to that it would act like Eclipse?

In short: No.
Matlab is not eclipse and it will never be. M-code is not Java code.
If you want to you can use eclipse to edit your m-files, however it will not behave as you describe in your question. This is because m-code is not as strict as for example Java, this is on one side the downside of Matlab as you describe above, however the positive side of this is that it offers flexibility during development.
Using a tab after typing some characters would narrow the possibilities for auto-fill, if you have selected this property in the Preferences-Keyboard window.

Related

how to avoid floating windows cover either other floating windows or text NEOVIM

As you can see, while I type I get shown the signature of the function and the suggestion. But very often they cover each other.
Moreover, suggestion cover a lot of lines below the line I'm currently in, which could NOT be useful (e.g. I'd like to refer to them)
Is there a way to fix both issues? like pushing floating windows on the rightmost part of the currently window, where probably there are fewer lines of code ?
I think It could be really useful
it's not neovim version's problem.

Eclipse shortcut to switch between editor groups

I can use Ctrl-F6 or Ctrl-Shift-PgUp/Down to switch between files in the editor.
This works well if there is only one editor visible.
But when i have arranged the editor in two halfs, some files are left, some files are right. This is called "split window", like this example https://codeyarns.com/2010/01/04/how-to-split-window-in-eclipse/
I do not mean the split editor, where the same file is shown in two halfs.
How can I toggle between the left/right side (or however they are arranged), always to the already visible file?
This is one of the benefits of the Emacs+ Eclipse plugin. When this is installed, the "other-window" function will be available, which does exactly what you're looking for.
Note that using the Emacs+ plugin does not require you to know anything about Emacs or Elisp. It simply provides a large catalog of functions that are similar in spirit to what Emacs provides.
You could use the "Emacs+" keyboard scheme, which is consistent with typical Emacs bindings, but I don't use it, as I prefer to integrate Emacs+ with Eclipse, not the other way around. I like to choose a "prefix sequence" that I use to group many functions that I like to use. For instance, I use "Ctrl+;" (ctrl-semicolon) as that prefix. I bound "other-window to "ctrl+; o". You can use whatever scheme you like. Despite my goal to use my own bindings, there are some functions that are awkward if you don't use the binding from the Emacs+ scheme, like binding "ctrl+s" to the incremental regexp search function.

Customizing Matlab autocomplete: Can you exclude a specific function?

I often fix my indentation by tabbing wildly, which led me to learn of the enddrag function.
Of course, this is not a function I expect to use a lot, and I would prefer not to have it pop up when I hit TAB on an end. Is there any way to tell Matlab that I don't want enddrag to appear in my tab completion list?

is there any eclipse plugin available for writing a memo on any line of code?

Doe anybody know of an eclipse plugin, which can be used to insert short text (in the form of memo) to remember what that line of code does or a block of code does to help me understand the existing code better and i can also refer it back later on.
Just like "Task" can be added on a line of code, although i can use "tasks" for this purpose, but that is not very convenient and intuitive.
If you want to add a short text to "remember what that line of code does or a block of code does to help me understand the existing code better", use comments. That's what they're for, and practically every formal language in the world has them.
If you want the ability to quickly jump to an arbitrary point in the code, using bookmarks is a convenient option - right click the bar immediately left of the text and choose to add a bookmark. You can then easily jump between bookmarks with the "bookmark view", which you can enable from the Window -> Show View menu.
The closest thing I can think of is bookmark support. There is native bookmark support in Eclipse and also several other vendors supply more function.
I'm assuming that there's a very good reason that you don't want to or can't modify the code.

How to highlight current method body in Eclipse?

There is a nice feature called "show selected element only" in Eclipse. When it's turned on, clicking on a method in the outline pane will show just this method only in the editor, allowing to focus on this one only, especially useful in that you don't need to worry about scrolling hard and overshooting this method when there are many nested parenthesis inside.
But sometimes I would like to have a glance of more codes around here, so have to turn this off, then back, time and time again, which is quite inconvenient. So I wonder if there is a better mechanism?
I know a built-in feature called "range indicator" (http://stackoverflow.com/questions/7049098/how-to-forbid-eclipse-to-highlight-current-method-class-in-the-margin) , but I always tend to overlook that because it's too thin.
One better solution I can imagine is using distinguished background color for currently investigated method body, and when move cursor to other methods, background highlight turn to them accordingly (works like the range indicator, but renders more obviously). In this way, both navigation flexibility and reading assistance are gained.
Is this solution possible?
Take a look at the Editbox plugin.
You might have to do a bit of tweaking to the colors to set it up. Here is a sample screenshot :
Is this what you wanted ?
Yes, with editbox and the following settings may suit your need.