"Pending changes" filter in rider - rider

I often use "pending changes filter" in Visual Studio to filter changed files in solution explorer, which is helpfull in large solutions.
https://www.visualstudiotips.co.uk/tip/pending-changes-filter/
Now i use rider instead VS.
Does such thing exist in rider?

No, it is not possible right now. Feel free to vote for the next issue:
https://youtrack.jetbrains.com/issue/RIDER-16273
There is a separate tool window Commit instead. If you enable Group by Directory option it should work for you almost in the same was as a filter in the solution explorer.

Related

SSDT Schema Compare keeps finding differences for users?

The title says it all but for further details. When i use the schema compare tool in VS2015 for my SSDT Project and my database on a server. The compare results always come back with the Users as being different. I check the differences it speaks about but there is not a single difference between the environments.
I even went as far as updating my project from the compare results to try and correct these "differences". I then ran another compare and the same users came back with differences again... WHAT! haha.
Anyone have a clue what would cause this sync issue or am i doing something wrong? The users were added manually to the database on the server rather then thru SSDT deployment so maybe that is a reason?
EDIT:
Please hit the arrow on the left of the user differences found. You will see a properties folder and the missing login which is the real difference. If you go Schema Compare Options -> Object Types (tab) -> Non-Application-scoped -> Logins to add Login object type to your comparison then your issue will be resolved.
Logins objects
Although I consider this a bit of a workaround (I haven't found a real solution to get rid of the Users from the comparison even when they're indentical), it's the best I've found. Simply exclude Users from the comparison.
You can access this menu by clicking the gear icon on the Schema compare window and expanding the Application-scoped object and unchecking Users (or indeed anything you else you want to exclude).
When I drill into the schema compare under Change > User > Properties > Spanner icon, I can see this difference:
Source (SQL Azure) Target (Project)
============= ===================
UserType=2 UserType=0
What does this mean? I googled to no avail.
Updating doesn't fix it. Deleting the user script from the project and Updating doesn't either.
I can't find UserType in the source code so this must be generated internally by the compare.
In Visual Studio 2017 at least (and it looks like option is in 2015 as well), try going to Schema Compare options and under the "General" tab, untick the option "Ignore login SIDs".
I had this same problem with a user (where there wasn't a login defined for the user), and unticking this option resolved the problem for me. I still picked up actual correct user changes, but for existing users that are unchanged, the comparison no longer shows a bogus item.

VS 2013 Git integration - customize compare with unmodified option?

I am researching Git for VS 2013, and it seems pretty solid so far. However, it seems to be lacking customization options.
First question: With TFS and subversion (AnkhSVN) I am able to configure my own custom compare and merge tools (I am using CodeCompare, no affiliation, just a preference). Example for TFS:
There are no similar options with Git, even thought it's a Microsoft Git Provider. Am I missing a plugin?
Second question: I also could not find an option to do "Compare" with a double click. It is very unproductive to right-click and go to "Compare with unmodified" every time.
VS 2013 has a nice option to view only modified files, so I was going to use that + key or mouse combination (I've tried Shift-dblClick - no luck). Did anyone manage to discover such combination?
Trick at How to use an external diff tool for Git in Visual Studio 2013? has helped me to fix this issue.
[diff]
guitool = winmerge
tool = winmerge
[difftool "winmerge"]
path = C:/Tools/WinMerge/WinMergeU.exe
cmd = C:/Tools/WinMerge/WinMergeU.exe \"$LOCAL\" \"$REMOTE\"

PL SQL Developer allround automation updated to 9.0.6.1665 - error during starting up

I've already updated my PL/SQL Developer (allround automation) to a new version (given above).
Now starting up the Tool I'm receiving the message (translated from German into English):
"Existing groups with same definition
This could led to problems".
One can continue but I'm courious to know the reason. Or should I expect additional problems?
Thx,
Peter
This sounds like a problem importing preferences. Only one preference set should be enabled. Perhaps the upgrade or installation process found multiple preferences and didn't know which one to enable. I'm not sure what kind of problems it will cause.
For reference, the exact error message in the English version is "You have preferencesets with the same definition, this might not work correct.".
To fix this, click on Tools --> Preferences, then click on the button to open the Preference Set dialog:
In the Preference Set dialog, un-check "Enabled" for all but one of the preference sets.

Mylyn alternative for IntelliJ IDEA?

We have been using Unfuddle in our company for 1 year. All my colleagues can easily access Unfuddle tickets using Eclipse addon called Mylyn.
Does something like this exist for IntelliJ IDEA?
If not, can you suggest some alternative way to deal with Unfuddle tickets from IDEA?
In IntelliJ IDEA 2016.3.3 you can click on Tools->Tasks & Contexts->Configure servers.
It has a behavior close to Mylyn has.
Check also the answer bellow about the plugin "Focus on Active Task"
Regards
They guys at IntelliJ forum confirmed that such alternative does not exist. We hope this will change one day.
Disclaimer: I'm the author of the plugin mentioned in this post.
I suggest trying out the Focus on Active Task plugin from the JetBrains repository, that I made a while ago.
This attempts to emulate Eclipse Mylyn's main functionality, by adding a Focus on Active Task toggle action on the View menu that filters the project tree with the currently active task/opened files.
Alt+click will also behave close to Mylyn's feature by temporarily unfiltering (showing all children of) specific tree nodes.

Trying to perform a diff using netbeans and its Git repository

I have two different version of a website, an older version, and a newer version that is supposed to have some sort of virus on it (or malicious code of some kind). I need to perform a diff between the two sites and try to eliminate the virus in the newer one.
After some searching I found netbeans 7.1 is able to do this using it's Git Repository. I was following this tutorial http://netbeans.org/kb/docs/ide/git.html but I am not getting the same options on my screen as in the tutorial. I am using netbeans 7.1 RC1 and downloaded the jdk from the link on that same page. The jdk download itself says jdk7 but the folder it creates on my computer is named jdk1.7.0_01 . I'm assuming jdk7 is short for jdk1.7 .
I get as far as the very end of the "Initializing a Git Repository" step. The end when it says "All the project files are marked Added in your Working Tree. To view a file status, place the cursor over the file name in the Projects window. The status of the file in the Working Tree displays in green to the right of the slash like shown in the following picture." does not happen.
I tried going further anyway, but there is just more and more options that do not show up for me.
I am also open to another way to perform a diff operation between the sites, it doesn't have to be with using netbeans. I should note however I do not have access to a unix box. So the solution has to work for windows, or I guess I can go on a coworkers mac if I need to.
Thank you.
From your question, it sounds like you did not already have your web site code under version control. If that's the case then I'd suggest doing so, and git is a very good choice. It is what I use.
Your goal, however, is to diff the older version of your site with the "newer" (possibly infected) version, and that can be done without having to deal with a version control system. There are several good diff tools for Windows. I mainly use WinMerge, as I like its user interface and simplicity. KDiff3 is another good one, and I use that one in conjunction with git merge operations, because it supports a three-way-merge comparison (which WinMerge does not).
If you were to use WinMerge for your diff, and you had the code from the old version in Q:\example.com\old-version and the "new" version in Q:\example.com\current-version, then you would start WinMerge, and either choose File|Open... from the menu, or click on the open icon in the toolbar. You would get a dialog like the following, and would fill it in as shown:
If you filled everything in correctly, then you would be able to click on the OK button, and would get a list of file differences. Depending on the default settings, you might also see files that have not changed at all in that list. You can hide those using the View menu. Double-clicking on a file with differences will open the two versions and show you the differences.
Explore the WinMerge options. I have mine set, for example, to compare white-space differences, but to ignore different line endings (Unix's LF versus Windows' CR/LF).