I have been using Indigo for a while, and now trying Juno
There is a sligth bothering difference:
On Indigo When you had 10 tabs opened
A | B | C | D | J | H | G ....(F | T | S)
and currently on B
when you selected the file shown in tab T again, then this tab (on Indigo and that's the problem not on Juno) would be repositioned like that:
A | B | T | C | D | J | H ....( G | F | S)
This is useful since, if opening T after B, it means they should be grouped together
on Juno it does not reposition them, instead you will need to find most recent files far in the tab list
Q: how to set it back? I searched params with 'tabs' in the options with no result
edit: still the same in new versions (Kepler)
edit: Thanks to Paul' answer, a good solution is to search for .css files in eclipse folder, and set swt-mru-visible property to true in e4-default-win7.css for example
Juno by default doesn't present the MRU (Most Recently Used) tab behaviour that you see in Indigo (it never worked quite right) and instead uses the Editor document order.
I believe you can re-activate it be either switching to the Classic theme in Preferences>General>Appearance or by editing the CSS. See http://wiki.eclipse.org/Eclipse4/CSS
.MPartStack {
swt-mru-visible: true;
}
Don't forget to restart Eclipse to make it use the new parameters.
Apparently this option was added in Eclipse Mars 4.5:
Window -> Preferences -> General -> Appearance ->
Visible tabs on overflow:
[X] Show most recently used tabs
Related
I dont understand how do I change this new line "line" and change the point where the IDE starts a new line when I press STRG+ALT+ENTER. I also tried "Code style -> General -> Hardwrap" but it dosent change anything!
I saw it depends on the Programming langurage I use.... Now I have really no idea how to change this
It can be configured in Settings | Editor | Code Style | Dart > Line length.
When I copy this, for example:
<AdmobComponent/>
It pastes as:
< AdmobComponent / >
Does anyone have any suggestions? I don't even know where to start to fix this.
From within the IDE:
Go to File | Preferences | Settings and then click Text Editor | Formatting.
The top option should be FormatOnPaste, make sure this is unchecked.
If you are using the Prettier extension, then this is a known issue.
For anyone having a similar problem in Visual Studio 2019 it can be fixed as follows:
Go to Tools | Options | Text Editor | {language}
Now depending on the Language the options that need to be changed could be in a few different places or missing. But for C# and JavaScript go to Code Style | Formatting
Once there there are a few options. If "Automatically format on paste" is unticked it will completely remove any reformatting on paste.
Or for a more limited impact go into the "Spacing" section and change "Set spacing for operators" to "Ignore spaces around binary operators". By doing this some automatic reformatting is lost but I think it's worth it not to have all those spaces inserted into stuff like Kebab case variables.
I would like to use Radare2 to learn about how C is assembled into assembly but I am having trouble with the layout. I think the V! mode would be very handy as you can watch the registers update as the instruction pointer moves through the program, but I don't understand the layout.
This is an example of they layout I would like:
It seems when I add a window (like Stack or Registers in this photo) it appears offscreen and I have to try closing different and splitting windows until the layout kind of falls into place. Is there an easy way to change exactly what is in each window?
I know "X" closes a window, "z" switches the current window to the front, and "-" / "|" split a window.
I have tried looking at the help but can't seem to figure out any other commands related to this issue.
ENVIRONMENT
radare2: 4.2.0-git 23712 # linux-x86-64 git.4.1.1-97-g5a48a4017
commit: 5a48a401787c0eab31ecfb48bebf7cdfccb66e9b build: 2020-01-09__21:44:51
system: Ubuntu 18.04.3 LTS
SOLUTION
This problem can be solved in a variety of ways and this is just one example.
To create the layout you have described change the commands shown in the default layout by:
Clicking inside/selecting the panel you wish to change.
Right clicking in the panel and select new command or
Enter "e" then type the new command. (Ex: Registers = dr)
The further documentation shown below can be found here: https://radare.gitbooks.io/radare2book/visual_mode/visual_panels.html
|Visual Ascii Art Panels:
| | split the current panel vertically
| - split the current panel horizontally
| : run r2 command in prompt
| _ start the hud input mode
| ? show this help
| ?? show the user-friendly hud
| ! run r2048 game
| . seek to PC or entrypoint
| * show pseudo code/r2dec in the current panel
| / highlight the keyword
| ( toggle snow
| & toggle cache
| [1-9] follow jmp/call identified by shortcut (like ;[1])
| ' ' (space) toggle graph / panels
| tab go to the next panel
| a toggle auto update for decompiler
| b browse symbols, flags, configurations, classes, ...
| c toggle cursor
| C toggle color
| d define in the current address. Same as Vd
| D show disassembly in the current panel
| e change title and command of current panel
| g go/seek to given offset
| G show graph in the current panel
| i insert hex
| hjkl move around (left-down-up-right)
| J scroll panels down by page
| K scroll panels up by page
| H scroll panels left by page
| L scroll panels right by page
| m select the menu panel
| M open new custom frame
| nN create new panel with given command
| pP seek to next or previous scr.nkey
| q quit, back to visual mode
| r toggle jmphints/leahints
| sS step in / step over
| t rotate related commands in a panel
| uU undo / redo seek
| w start Window mode
| V go to the graph mode
| X close current panel
| z swap current panel with the first one
EXAMPLE
Open visual panels
user#host:~$ r2 /bin/ls
[0x00005850]> aaaa
...
[0x00005850]> s main
[0x00003e90]> V!
Default view after opening visual panels
Select top right panel then right click and select registers
Select lower right panel then right click and select stack
Final view
Basically, Intellij is making my code extremely hard to read by underlining lots of my code. It kind of makes a chess board on the left of my screen as well! =>
I have looked through the code editor settings but I can't find one under scala which controls these underlines. I am using the twilight theme but I have only just noticed the issue. Any ideas Intellij buffs?
IntelliJ 12:
Settings -> Editor -> Colors & Fonts -> Scala -> Implicit Conversions
Uncheck "Effects -> Underline"
IntellIJ 11 or Before:
Settings -> Code Style -> Scala -> Other -> Other settings -> Highlight methods added via implicit conversion.
However anyway it's usability problem of this feature. Something different should be done to highlight implicit conversion for such places.
The attributes used for different kinds of highlighting are configured under Settings | Editor | Colors & Fonts.
In Idea 12, it can be disabled at Settings | Editor | Colors&Fonts | Scala | Implicit conversion. I just unchecked Effects but it's also possible to choose something else than Underscore.
Hope that helps.
To disable underlining in JSP/HTML I usually click the little man in a hat in the bottom right corner and set highlighting levels to None:
I think it should be the same with Scala
Is it possible to make Eclipse place the new opened editor tab next to the currently active one?
Until the tab row is full, eclipse places the new tab on the first free position, which is acceptable. When the row gets full, eclipse chooses to hide the LRU tab, which is acceptable, too. But it places the new tab on the position freed this way, which is from the user's POV a completely random position. Extremely strange, IMHO.
An example, just in case my English is worse than I though:
Initial position, assuming b is LRU and D is active, opening G:
a b c D e f
Current behavior:
a G c D e f
Wanted behavior:
a c D G e f
I disliked the tab placement before, but I really dislike the way it works in Eclipse Juno. The Eclipse team claims that they have never gotten above 20% of their users liking a tab placement method.
Anyway, the good news is that customizing tab placement may get easier in the future, and if you dislike the current style you can go back to the old style relatively easily.
Comparison of tab placement styles
MRU style (older): The n most recently used tabs are always displayed.
Array style (newer): New tabs always go at the end of an infinite array of tabs. Then the visible set of tabs is scrolled until the selected tab is visible.
Suppose the window is sized very small, so that only 3 tabs are visible at once. Here's how the two styles will place things, given that we've already opened tabs "A" and "B" and are about to open tab "C". I'll capitalize the tab being added for visibility:
Tab | Old New
opened | Visible | Hidden | Visible | Hidden
----------------------------------------------------
C | abC | | abC |
----------------------------------------------------
D | Dbc | a | bcD | a
----------------------------------------------------
E | dEc | ab | cdE | ab
----------------------------------------------------
A | deA | bc | Abc | de
----------------------------------------------------
F | Fea | bcd | deF | abc
----------------------------------------------------
D | fDa | bce | Def | abc
Selecting a tab placement style
As described in other StackOverflow questions Eclipse tabs repositionning and Retain previous open file tab under visible tabs, it's possible to choose between the two styles by installing the Eclipse E4 CSS editor plugin and then in Preferences > General > Appearance changing
.MPartStack {
font-size: 12;
swt-simple: false;
swt-mru-visible: false;
}
to
.MPartStack {
font-size: 12;
swt-simple: false;
swt-mru-visible: true;
}
Have you read the following?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=68684
Because i remember reading about this issue.
There is no direct way achieve it. [As per my knowledge.]
As mikezx6r said in his comment: You will require to build an eclipse plugin or you can an eclipse view that works as per your need. For your information: In the Eclipse Platform a view is typically used to navigate a hierarchy of information, open an editor, or display properties for the active editor
To know how to create an eclipse view here is a tutorial kinda stuff for you.
Hope this helps.