We can create code review request from Visual Studio. Behind the scenes it creates a shelve set & code review request work item. Reviewer can review the code changes which further creates a TFS work item (code review response). Everything is captured in the TFS.
I could not find the same option in the TEE plug-in. Can anybody tell how can I achieve the same workflow? I do not want to manually create the shelve set & work item. Is there any plug-in available to achieve this?
Currently TEE does not support code reviews, still on the backlog.
I can't give you an exact (or, frankly, even an approximate) date.
There is a long list of priorities - code review support in TEE being
one of them. In April, we will start planning for our next update and
will see where this lands.
Believe me, we like this feature (and could use it ourselves).
Any other opinions/thoughts from the community are also useful to have
--- so, feel free to respond on this thread or reach out to me directly (wismythe AT microsoft.com).
Will Smythe
Program Manager, Team Explorer Everywhere
More detail info you can take a look at this similar question in MSDN: Code Review functionality in TFS plugin for Eclipse
Related
A couple of days ago, I was copying and pasting my code into a new class. While the entire code was selected, I hit the backspace key. The entire code deleted, and I did not realize. My computer then died. Today, I opened it back up, and none of the code was there. The only thing that remained was an empty file. Is there anything I can do?
The two comments cover most of it. There are only 3 places your code could possibly be. If you checked them all and none of them have it, you're out of luck.
Eclipse Local History
Right click the file in the package explorer and pick the 'Restore from local history...' option. Hurry up, eclipse auto-removes local history that's older than 7 days!
VCS
If you're using version control and you checked this in before, it's a simple restore away. For example, git checkout path/to/the/file.java would do it. You'd have to explain which VCS system you are using and how are you accessing it (via eclipse teams, via e.g. Fork.app, via the command line, etc).
Backups
You're using a computer. It should have backups. These backups need to run automatically and preferably be going 'off site' (to a place that you do not live, you don't want a fire or some serious burglary to mean you have lost both your system and your backup!). If you don't have that, you're, uh, well, I don't want to insult you, so you should find some suitable insult that describes a very silly person and then yell that at a mirror.
The only excuse to not have backups for a system is if the system does everything in the cloud. Chromebooks really don't need it for example. If you're programming, unless it's some fancy cloud-based programming layout, this does not apply to you, and therefore you should be finding a mirror right about now if you don't have a backup solution in place.
There are open source tools like arq where you fully control where the data goes. Various NAS (Network-Attached-Storage) systems have the option to sync with another NAS elsewhere over the network, so buy one for yourself and for a friend, and be each other's backup buddy. Or just toss some money at it; services like Backblaze offer fixed fee backups and offer client side encryption if that's a worry for you.
I am currently going trying to learn java, and my IDE is Eclipse. I connected my Github account and am easily able to push/pull etc. Everything is working great, except for the fact that my commits are not coming up on my Contributions.
I think I have found the issue, but I am not sure what the solution is. If someone can help that would be great, I'm sure it's an easy fix.
Under the "Git Staging" tab on Eclipse, there is a section for 'Author', and 'Committer'.
As I was writing this message I was able to solve this issue.
Under the author & committer section, all you have to do is change it from:
name <name#localhost>
To:
GitHubUsername <GitHubEmail>
For a more permenant solution:
Through this method, it should automatically change the default Author/Committer to what you enter here.
Go through this article for more information.
https://eclipsesource.com/blogs/tutorials/egit-tutorial/
I'm using Android Studio 2.1, which is based on IntelliJ IDEA 2016.
If you select VCS -> Commit changes there's a nice dialog showing all the modified files and you are able to choose what to commit.
However when selecting VCS -> Update project there's no dialog. You have to update everything give or take.
I really miss eclipse's Team Syncronize perspective. It kicked ass compared to this, both for commiting and updating.
Is there a way of displaying a dialog to select which files to update? Or maybe some plugin? I'm getting tired of importing workspace metadata from other team members, or even broken builds when doing bulk updates. The only workaround seems to be looking at the incoming tab first, and then right click over the files you want, which is not very efficient as you have to expand their packages or parent folder first, and you might also need to manually refresh the incoming tab.
Yes that's a nice question but unforunately we have no ways First thing first to checkout documentation of IntelliJ IDEA 2016.1 Help given here but not in depth. As vcs-> update will update all files from remote branch and it will never provide you options because it is not implemented yet !!
Also see comments discussion on this answer they have talked about whole issue you have here the question asked little matching with yours is this which is the same having this discussion.
This is unlikely to be an issue with the Android tooling and more likely an issue with the underlying intellij idea software.
This is already discuss over here in google code issues :
https://code.google.com/p/android/issues/detail?id=184086
I have already tried to search plugin or help software but coudn't find one. :(
You just can add a .gitignore file for metadata.
Although, when you update your project it's a good practise to commit files before (and choose only those files you want to update).
Regards!
I have an existing Eclipse 3 RCP application (the compatibility layer is already added to the existing application) in which I would like to add a perspective (of course containing parts, toolbars, menus..) developed with Eclipse 4.4 (Luna).
1) Is this possible ?
2) If, yes could you please give me more information on how to do that and perhaps links containing more informations ?
UPDATE : So I finally manage it to make it work so for those of you who had the same questions here are the answers. So yes it is possible to mix Eclipse 3 and Eclipse 4(some complications but you can manage it :) ) for more information on how I did you can go to the link I left in a comment down below. Hope this going to be helpfull :)
You can likely do something close. You could implement the 'createInitialPerspective' method of the your IPerspectiveFactory to downCast the given IPageLayout to its underlying class "ModeledPageLayout". This will give you access to the new MPerspective's model (as well as the useful utility methods). Then you're off to the races and can set the model for your perspective up as you desire (as long as the result can be rendered).
I tried something that Alexander adviced me to do and it worked perfectly :) The only issue that I have now, is how to add the perspective added to the perspective switcher. (The method I followed enabled me to add the perspective but when I run the application it is displayed in the tool bar and I don't want it to be like that I want it to be only present in the perspective switcher). Anyway here's the link for the solution I tried. Hope this gona be help full.
https://www.eclipse.org/forums/index.php/m/1690630/#msg_1690630
I'm working with a legacy Java app that is new to me so one way to figure out how it works and find things easier, I have thought would be to be able to get the full stack trace after I perform actions, so as to be able to see which classes are being used based on a particular UI action. I had thought this was possible in the debugger but it seems that it only works if I insert a breakpoint and in this case part of the purpose of this is so that I don't have to know what's being called to be able to insert the breakpoint first (as this would help tell me that).
I apologize if this is a basic question, I have searched on this but I'm not finding the correct answer.
This doesn't directly answer your question, but maybe it will solve your problem better. Take a look at BTrace. It lets you instrument a running Java app and insert some basic code of your own. You could, for instance, have it write out entire method call chains to help you find your way through the app. It's somewhat similar to AspectJ, but with an entirely different purpose and requiring no change in the project source:
"BTrace is a safe, dynamic tracing tool for Java. BTrace works by dynamically (bytecode) instrumenting classes of a running Java program. BTrace inserts tracing actions into the classes of a running Java program and hotswaps the traced program classes."
A few suggestions:
Some profilers will allow you to walk from any particular method up (and sometimes down) to see what's calling and being called. I've found this surprising informative about flow, even in apps I thought I knew well.
For understanding the mainline flow, I don't think there's a better substitute for working interactively with a debugger. It will lead you into learning other important things. Not what you wanted to hear, I know. This presumes that you can rapidly restart the app when you miss a key off-ramp.
Reverse-designing large legacy apps is the one place where I use UML fairly regularly. There's too much to keep in my head to form a good big picture. If you have a UML tool that will do reverse-engineering, load it up with the app, then probably prune down hard on the classes you don't care about, because they are trivial or obvious. Arrange the diagrams in a way that helps you understand. I've used Together, Magic Draw, and Visual Paradigm in this way. Together worked the best - but it was a decade ago.
When you are in the debugger perspective, you will see a view showing the launched processes. In that view you can tell it to pause all threads of a process. Once stopped, you will be able to browse through threads to see what they are all doing. To try to catch what a particular action is doing, you would have to start the action and then quickly pause all threads.
You could always run the application with the VM arg of -verbose:class. You could then watch the console output and see what classes the VM is loading when you perform a particular action. This could possibly give you a starting place for where to place breakpoints. This won't always work depending on the scenario, but may be helpful.
Another trick you can use is to figure what classes you know that have to be involved in the code path you are trying to trap. For instance, you mentioned that it's a Java EE web app and therefore the action is likely some kind of a servlet interaction (at some level). I don't have the API in front of me, but you can place a breakpoint on the method in the response object where the output stream is retrieved. Once that breaks, you will know the code that's trying to service the request.
You can always see where a method is called by clicking "Open Call Hierarchy" from eclipse (left click on the selected method or CTRL+ALT+H ). Also, you always can inspect where a method/class is defined by clicking "Open Declaration" (left click on the selected method/class or F3).