Auto select added jstree node - jstree

How to select node that was created? Another question is why I can't submit question that is perfectly grammatically correct? That error is extremely annoying even more than Js Tree documentation.

Related

VSCode Find / Replace History

New to VSCode and notice there's not a dropdown history of previous find/replace strings. I am also striking out on finding this functionality via extensions.
Most every editor I've ever used has had this, so I find its absence conspicuous.
I see exact and similar feature requests on github, but alas it could never get the required 20+ votes in time before it was closed. I was prepared to open another feature request, but the directions when opening a new feature request state
<!-- Please search existing issues to avoid creating duplicates. -->
so I'm uncertain of the protocol. Does this only mean active tickets?
The closed feature request garnered 9 votes, so there was some interest.
The up/down cursor prompt only works per session and hence, only if you have already done a search. I too use a regular expression routinely from session to session, so I have to open up a notepad file that has my patterns then copy them to the search/replace window. Royal pain.
And I agree, there should be a drop-down.
Use the up and down arrows. There is placeholder text to mention this - see the gif - but it is easy to miss. Not as nice as a dropdown though as you have to cycle through recent entiries.

Enable focus follows mouse between editor and integrated terminal in VSCode

I am used to the focus follows mouse option for years.
In the VSCode editor I want to switch between the integrated terminal and the code writer by simply focusing the cursor on them.
For example in Geany editor:
Does anyone know how to enable focus follows mouse from settings or using any simple hack while trying to move between the code writer and terminal?
The simple answer is it's not possible at the moment. There have been numerous issues raised in the past (#25685, #44214) and they have been closed because "the number of votes ... and duplicate issues" are not high enough. Go out and raise an issue and get others to vote on that issue.
There was a pull request made a couple of years ago that would introduce a focusOnHover setting. This appears to resolve the issue but it has not been accepted and is now a bit stale and needs some work. So you could for VSCode (for yourself), apply the pull request and then build it.
I am keen on this feature as well.
It is now a candidate for the backlog, see https://github.com/microsoft/vscode/issues/93772 (Provide a "focus-follow-mouse" setting)
So upvote it if you want this. It needs 20 votes to move to the backlog.

How can I duplicate a non-editor panel in Eclipse?

I had exactly the same problem another user (arghtype) is having here in this question's thread: How to enable duplicate tabs in Eclipse? (i.e. duplicate windows)
Although, it is only an answer post that doesn't necessarily achieve what we both want.
It recommends opening a separate, duplicated window, which is a bit resource heavy for what I need.
I wanted to formally ask this question in case anyone has the appropriate answer instead of a work-around or compromise, or we can open a feature request in the Eclipse work item tracker, and this way the answer and any history can become more apparent for this specific issue.
Also note I have tried the Menu options "Window" > "Show View" > "Other...", and then have selected the view/panel I wanted, with the current one in my UI both selected and unselected in different cases, and I still do not receive a duplicate panel.
I would also appreciate sources such as links to any documentation, or at least a screen shot with an answer, since I am very carefully not asking about the editor panel in the UI, which is commonly found as an issue on the internet.
To add, my specific case is using RTC 5.0.2 with Eclipse 4.2.2 (Juno), and I would like
multiple "Work Items" panels open for my workflow. One for overall reference, one for current, immediate work, and any more for what have you.
Another related source I found that all seem to speak about the similar, more prevalent issue, specifically concerning only the editor tab/panel:
How do you split a window/view in Eclipse IDE?
Edit:
I have opened an Eclipse Bug/Enhancement request for the UI here: Bug 471001 - Allow user to create duplicate panels in perspective view.
We will see how it is handled. Either my version is too old to have this feature, or it does not exist, and could prospectively be added.
So far without a firm answer, I have opened an Eclipse Bug/Enhancement request for the UI here: Bug 471001 - Allow user to create duplicate panels in perspective view.
We will see how it is handled. Either my version is too old to have this feature, or it does not exist, and could prospectively be added.

How i can create a toolbar for a specific perspective in rcp?

I am very new to rcp. In my plugin, I have three perspectives and In a perspective, I have 4-5 views, I want to create a toolbar specific to the slected perspective. I searched a lot for this but unable to find any answer, please help me in this.
One solution is to create an extension using org.eclipse.ui.actionSets that contains a set of actions you want to be displayed in the tool bar when a specific perspective is selected. Then there is a extension point called org.eclipse.ui.perspectiveExtensions where you can associated a action set ID (the one you created) with a persepctive ID and that action set is only shown when the perspective is active. In terms of "creating your own tool bar" that is in clear. There is always only one toolbar but based on the perspective/view selection items can be hidden or active.
This thread is dead and the answer posted is no more valid. so it doesn't help me. please refer the link below.
This question is correct, on which no one is responding, after last response. The Last repose which is not correct for the current eclipse development, as actionSets is a deprecated API now. Below link clearly mentions that this is deprecated.
http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_actionSets.html
I have same related question and created another thread, which addresses more than this question too. Hope that is helpful.
In RCP Eclipse(Neon) Development, how to enable a created perspective

Entity Framework 4.1 Code First Changes in Relationships often do not take

I often get errors when running test cases after changing relationships. When checking the relationships on the data diagram I notice that they are often not reflecting any of the changes I did or only some of them, confusing the model. This only seems to be the case when creating the diagram within Server Explorer of Visual Studio. When creating the diagram in SQL Server the changes show up fine.
Unfortunately, this also affects testing the code, because I'm never sure if a fails because of a problem with a change in the relationships I did or Visual Studio not updating. Having to detach and attach the database each time is a bit of a pain.
The database is dropped and recreated correctly, but Visual Studio seems to run the code against a cached version. Had anybody else similar problems, any fix?
I've certainly seen issues where I've updated SPs/function imports and tried to update the associated complex type, the dialog window says 'update', 'delete' etc next to the columns changed, so it's certainly seeing the different, but when applying the update these often don't seem to take and I end up manually adjusting the complex type.
In the above example I'm not sure whether the correct approach is to delete and recreate the type, but the existence of the update functions seem to suggest that an update should be possible. As you say mine too feels like a caching issue and whilst I've not yet found a solution I will be interested to see if you can find a solution, if I make any ground on this I will post back here too!