How to change the symbol databases folder of the VisualAssist X? - visual-assist

Does anybody know if it is possible to change the folder, where the VisualAssist X stores its symbol databases?
By default it is in
<%APPDATA%>\VisualAssist

Depends on the version of VA and Visual Studio. See this article in the Whole Tomato support knowledge base.

Related

How to get the exact edition of a JetBrains IDE from a plugin?

I'm developing a plugin for all JetBrains IDEs.
The plugin needs to know which exact flavor of JetBrains IDE it's running, some sort of string like "IntelliJ IDEA Ultimate", or "PyCharm Educational".
ApplicationInfo has some vague references to the IDE edition like /idea_community_about.png as the aboutImageUrl property but there doesn't appear to be anything concrete. Is there a standard way to get this data?
To get this information about the IDE, use
ApplicationNamesInfo.getInstance().fullProductNameWithEdition
From the doc string in the source:
Returns full product name with edition. Vendor prefix is not included.
Use only when omitting an edition may potentially cause a confusion.
Example #1: include the edition in generated shortcuts, since a user may have several editions installed.
Example #2: exclude the edition from "Restart ...?" confirmation, as it only hampers readability.
Rarely needed, consider using getFullProductName() instead.
As mentioned here: if you only need to know whether you are dealing with IntelliJ or PyCharm (Community or Professional does not matter) it is often enough to use fullProductName instead.

IntelliJ - How to define a project SDK where each developer has a different SDK for it?

We have numerous developers and we all tend to have a slightly different version of the JDK (whatever was latest when we last updated). We're all 1.8, but the x in 1.8.x.x is all over the place.
Is there a way we can define the JDK to use in our project so it is defined in files that are not part of the project and therefore not checked in? And more importantly, are not overwriting our individual choices when pulling the latest?
Just name your project/module JDK 'JDK', everyone then can point it to wherever they want.

Convert Microsoft product's version (like "Outlook 2003") to build number?

In a related security.stackexchange.com question, I asked for ways to find security advisories for specific software. I'd like to automate this process, but I found a mismatch between my database of Microsoft versions that includes build numbers (like 9.00.3027.00) and actual market version names (like - let's say - 2013). How could I translate those in either way (build numbers to version names or the other way round)? Is there a library in any language that would let me do that for Microsoft products (and most preferably other vendors?)

Updating sqlite3 API

I want to update/upgrade the standard Leopard install of Sqlite3 to >3.5 to use the new sqlite_xxx_v2 methods from a Cocoa project.
I can't seem to find any information on how to do this. Does anyone have any tips or a site that outlines the update procedure.
Also is 3.5+ supported on the iPhone. I understand it's embedded so shouldn't be an issue...
What you want to do is grab the amalgamation sources from http://sqlite.org/download.html . Then just compile that into / add it to your project. You don't want to replace the system sqlite- that'll have unintended consequences in other applications. Plus, I'm pretty sure the system sqlite isn't a stock sqlite... Apple has probably made their own modifications to it that core data relies on.
You can read up on the amalgamation stuff here: http://sqlite.org/amalgamation.html , but in short: '''The amalgamation is a single C code file, named "sqlite3.c", that contains all C code for the core SQLite library and the FTS3 and RTREE extensions'''
I'd also suggest not using the sqlite calls directly, they weren't designed to be used that way (says the author of sqlite). Instead, there are a number of cocoa wrappers out there, including fmdb: http://code.google.com/p/flycode/source/browse/trunk/fmdb/ (which I wrote) :)
-gus
You don't really want to upgrade the system version of SQLite on Mac OS X. The reason is that all Mac OS X software is qualified against the versions of the packages that it includes, as built by Apple's build process. Installing a different version of a package, or even building the same version yourself but doing so slightly differently than Apple does, may result in a system that behaves unexpectedly.
Finally, if you embed a newer version of SQLite — or any Open Source library or framework included with Mac OS X — into your own application, you should be sure to integrate the Darwin changes for it from Apple's public source site. That way you can be sure you'll get as close to the same behavior as possible from the library you've built yourself as the version Apple ships, which is especially important when it comes to functionality like file locking in databases.
I don't believe i've updated my version, but it's currently at 3.4.2, and i'm able to use the new methods with the current version.
And i'm running 10.5.5 with the latest (public) iPhone SDK.
It would likely be easier to just drop the library into your project and link it in from there.

Any other tools/plugins like VisualAssist that will change my life (MSVS)?

I was introduced to VisualAssist a few years ago and for me there's no going back. Are there any other tools I'm missing out on?
If you're a vim user, ViEmu is indispensable. It's a plugin available for Visual Studio (SQL Server and Office as well, although it's sold separately) that transforms the editor into Vim.
Another plugin by the same company is Codekana. In its current incarnation, it spruces up code structure considerably, and makes reading code much more pleasurable. Based on several chats with the author, he's planning on growing it into other areas as well.
BeyondCompare : Life-changing folder & file diff with many installable extensions for additional file types. Don't know what I'd do without it.
There's a few things that get installed on every computer I use for development:
ExamDiff is the best light-weight diff program I've found.
Tortoise SVN is the best version control client
Perforce is a way to make your life worse when your company inflicts it upon you.
Just after installing VisualAssist I go after WinMerge, which also significantly simplified my life.
I tried Resharper for a while. It was great but too expensive for my taste and I could not get my employer to purchase it when the trial expired. You might take a look.
I own all of these tools and use them on a regualar basis.
Resharper
CodeRush/Refactor Pro!
NDepend
Gallio/MbUnit