Change behavior of clicking author name - ide

After update 2020 -> 2022, behavior of clicking author name has been changed.
On 2020, clicking author name (red box) showed me git -> show history popup.
But after update, it is just button for toggle git blame
Can I change this behavior to previous one?

There two types of actions available after clicking the author name in the Code Vision:
Annotations
History
You can right click the name then go to Configuration and set it up to display History

Related

How to do a svn compare between local code base and latest from repository like in Eclipse

In Eclipse, when click Synchronize view it will show up a tree structure of diff comparison from local to svn repo. Click on each file will pop up view to show code diff.
Is there a similar feature in Intellij and how to activate it? I am on latest Intellij Ultimate btw.
Click on the Version Control button on the bottom, click on the Incoming tab. Hit the refresh button (circle with arrows). First time it will ask you if you want to set up automatic refresh. It will then show any changes pending from the repository. You can click on files and get a diff. (You may have to right click on a revision and select "Show Affected Files".)
There is no exact same view in IDEA. See https://youtrack.jetbrains.com/issue/IDEA-119596
You can use Subversion -> Compare to the Latest repository version from a file's context menu.
There is also the Incoming tab that shows changes from the server not yet applied to your working copy. You could invoke Show Diff with local from the Details pane of the Incoming change

Adobe Dynamic Tag Manager (DTM) - Rolling back to previous versions

We need to have the ablity to roll back to a previous version of a published tag, much like the way Google Tag Manager has versioning.
For instance, if we go through the publication authentication, then find that a bug exists and need to drop back to the most recent known working version.
Adobe does not provide any documentation on the subject. Implying the feature does not exist.
What is the correct process to provide roll back?
DTM versioning isn't completely non-existent but I will agree that (IMO) it falls embarrassingly short of the mark compared to other tag managers.
If you have the permissions to see it, you should see a History tab where the other main tabs for your Property are located (e.g. Overview,Rules). This tab will list a history of when and what things were published. From there, you can click the Edit link for an entry and go to the editing page for the entry (e.g. the tool config or a rule).
Up at the top right of the editing page for whatever tool config/rule, etc. is a blue box that shows the current Revision # and date, e.g. Revision 1 Feb 16, 2015. If you click on it, you can select a previous revision from the dropdown (Oddly, it does not autoselect/show the revision you selected when selected from the History page).
When you select a revision from the dropdown, it will show a side-by-side of the revision you selected vs. the current revision, and at the bottom of the page, you can choose which revision to select.
Select the one you want to revert to, and it will now show the editing page but with the selected revision. Save it and Approve/Publish.
Note: DTM currently has no way to roll everything back to a previous revision all at once, so you will need to individually go through each tool, rule, etc. to make sure they are rolled back to the desired revision.
Note: You do not have to go through the History tab to see the revision dropdown for a given tool/rule editing page; you can just navigate to any tool or rule and see it. However, the History tab will help determine which items actually need to be reverted.

How to download a specific version of the code from RTC?

In SVN we have one option to download code on a particular revision. This provides the flexibility to download code on old revision also for build.
Is there a option in RTC to download a code on particular revision?
Yes: once you have done a repo workspace on a stream (where that old version was baselined), you can select a component (in the components section of your workspace), and click on "Replace with".
You can then chose the baseline you want to see, and it will be downloaded if you have a local workspace or sandbox in place.
Simply don't "deliver" to the stream, or you would replace the most recent baseline by an old one.
For setting a file to an older version, it is a bit manual (as in this thread):
Right click on the file in the change set, and select "show history" (or if the file is in an editor, right click on the editor and select "Team -> Show_History). That will open the History view on the file, form which you can select the version you want.
SOLVED! 🚀
The only thing that worked for me was:
.
On your workspace's tab [Pending Changes] -> RightClick on the component that you want to get file(s) back -> [Show] -> [History]
RightClick on the "PackOfChanges" that has your wanted file(s) -> [Revert]
.
PS: It won't actually revert your actual project state to that day, and won't undo that "commit". The only thing that it does is showing on your workspace's tab [Pending Changes] all the diferences between that day and you actual code, and in every file(s) that you want back you:
"DoubleClick" the file that you want back that was showed by revert, and an Editor will appear with the diferences between you file's actual code and it self on that day, and you pass all the code from the right to the left.
After it's done, on your workspace's tab [Pending Changes], RightClick on the RevertPackage -> Remove
.
Have a nice day! 😄

How do I get copyright information to show up in my Eclipse RCP application's "About" dialog

I'm using Eclipse's IWorkbenchAction that shows the Eclipse About dialog.
When I use the action in my RCP application the About dialog shows up successfully.
But, when I think proceed to click the "Installation Details" button, I get a dialog with tabs. I navigate to the "Installed Software" tab, and see my RCP product's name along with its version, and its ID. I select this item in the table, then proceed to click the "Properties" button.
Once I'm here, I see a dialog that looks similar to Eclipse's Preference dialog. It has three items to select on the left... Copyright, General Information, and License Agreement.
I've successfully added my License information to my .product file in order to have it show up when I click the "License Agreement", but...
I can't find where I should put the copyright information in order to get it to show up when I click the "Copyright" item in the list on the left of this dialog.
Where do I add this information so that it will show up here?
This information comes from p2 IInstallableUnit. Are you building your plugins with p2?
if you implement p2 update you should be able to see this information. p2 build will copy this information from feature.xml.
I am addressing this question:
"I can't find where I should put the copyright information in order to get it to show up when I click the "Copyright" item in the list on the left of this dialog"
This copy right information you should get it from feature group when you build with tycho.
For product, there is no copy right information only license info. you put copy right information in feature.xml

Adding an entry in a submenu of a popup

I'm building a plugin, and adding an entry to the context menu (right-click on a folder in the project tree).
So far it works, following this tutorial:
http://www.eclipse.org/articles/article.php?file=Article-JFaceWizards/index.html
The problem is that it's adding my entry in the root of the context menu. Since my entry refers to a "New XXX" wizard, I want it to go to the "New" submenu.
It seems like I would have to set the correct locationURI or menuPath in my plugin.xml. However I can't find the locationURI or menuPath corresponding to that submenu. How can I find that?
The new contributions are menu ID based, not menu path based. So it should be something like:
<menuContribution
locationURI="menu:file?after=additions" />
See this SO answer for an example of locationUri.
See Menu Extension for more. The exact id is either:
found in the existing plugin.xml from the menu or
determined with plugin Spy
See "How to add items in popup menu?" (from justinmreina) for more on adding an entry to a menu.
If you've created a plugin for a 'New XXX' wizard, you can add it inside the 'New' menu that you see when you right-click inside the Navigator by customizing the perspective.
Go to Window -> Customize Perspective and click on the Shortcuts tab. You should see 'New XXX'. Select it and you're good to go.