Determining which version of a plugin is installed in Sublime Text 3? - sublimetext2

I tried to look up something simple like Package Control to determine if its version 2.x or 3.x installed, but even when browsing the Installed Packages folder, the only thing I could find was a created date of the plugin - created date shouldn't be used for version verification.
Checking out the website: https://packagecontrol.io/channel_v3.json it has a version number as part of the package, setting, but how would a Sublime User retrieve this for an installed package?
I don't imagine if there is any major difference between operating systems, but if you know of anything major (not available in one), please list.

In the command palette search for "Package Control: List Package" There you will see v<version number> under the package name.

Related

How can i upgrade my Octave version to the latest one?

I have the 4.0.3 Octave version on my machine.
and I would like to upgrade my version using windows.
Can someone tell me please the steps to follow?
Thanks.
If you want to remove v4.0.3, the complete answer will depend on how you installed that version in the first place.
If you used an executable installer, then there should be an 'uninstall' option available. On Windows 10, you can sometimes right click on the shortcut in the startmenu and an Uninstall option will appear. Otherwise you can follow the directions at this link to navigate through the Settings to the Apps & Features window, which lists everything installed and will provide an Uninstall option.
If you used a zip package to 'install' Octave 4.0.3 just by unzipping it to a folder on your hard drive, then no uninstall process is necessary. you can just delete the folder and shortcuts manually.
You can have multiple octave versions installed next to each other, the folders will have version numbers to prevent them from overwriting themselves.
To install the latest version (5.1.0 as of this answer, although 5.2.0 will be released very soon):
You can find the installation files for Windows by going to the Octave download page and clicking 'Windows'. There will be several file options there. Most people choose the first one (octave-5.1.0-w64-installer.exe) for 64bit systems. You can just download that or one of the other .exe versions, execute that program, and follow the prompts. If for some reason you would rather download a zip package and do a manual setup, I suggest you follow the instructions at the Octave for Microsoft Windows Wiki page to make sure everything is configured correctly.

No more SideBarEnhancements in Sublime Text 2?

I'm trying to install SideBarEnhancements in Sublime Text 2 (version 2.0.2 Build 2221), but it doesn't show under Package Control -> Install Package -> SideBarEnhancements.
Checking on GitHub I see that it is a ST3 package but I'm sure it was available in ST2.
How can I install it on ST2?
It is no more available?
Thanks.
The maintained version of SideBarEnhancements now only supports Sublime Text 3. A public beta version of ST3 is available for download, and I highly recommend upgrading if possible, unless you absolutely depend on some old ST2-only plugins, and there is no chance that they'll be ported to ST3/Python 3.3. Many plugins now support both versions, and more (such as SideBarEnhancements, SublimeLinter, and others) are now only officially supported on ST3.
However, if you must stay with ST2 for whatever reason, I've posted the last version of SideBarEnhancements to support ST2 on Github, and I promise to not delete the repo! Installation instructions are provided in the readme.
UPDATE
As of September 2016, SideBarEnhancements and other packages by the same author have been removed from Package Control - see my answer here for an explanation, such as it is. Going forward, to use SideBarEnhancements in ST3 you'll need to add the Github repo (note that it's not a normal repo URL, as the main branch is st3, not master) to Package Control using the Package Control: Add Repository option in the command palette. This will ensure that your local installation is updated.

Junit Test Case Builder (JUB) plug-in in Eclipse for Junit testcases automation

I am using JUB (JUnit TestCase Builder) plugin in Eclipse. I have downloaded JUB plugin and installed according to the instructions given in the following website,
http://jub.sourceforge.net/
While selecting the option "Build Junit Test Case", am getting information like "The chosen operation is not currently available".
Anyone facing the same problem? Kindly reply.
If there is anyother plugin for Junit Test cases Automation will also be useful.
I am not sure about JUB plugin for eclipse, but I would suggest you codePRO analytix for Eclipse for automating test cases since it is easy to install and use.
You can find the details of codePRO analytix here
CodePRO Analytix as a direct plugin is available in Eclipse Market place only for Eclipse versions 3.6 or below. However it can be installed and used with Eclipse versions 3.7 or more by following the below steps. But be aware of the problems which may occur due to version conflicts.
Installing CodePRO in Eclipse:
Download CodePRO v7.1.0 from here
In Eclipse choose Help --> Install New Software...
In the Install window which appears click on the Add button. In Add Repository dialog box which appears, click Archive... button. Locate the downloaded zip file and click Open. The details of the plugin installed will be displayed below. Click select All and Click on the Next button. Accept the terms and conditions and proceed with the installation.
Once installation is complete restart eclipse for the changes to affect.
Once installation is completed you can generate JUnit test cases by
Right click the required file
choose codePRO Tools -> Generate test cases.
Your test cases will be generated as a separated project.

Installing packages in Sublime Text 2

When I go to browse packages in Sublime Text 2, the packages folder is full of all the plugins I wanted like Zen coding and SidebarEnhancements. My installed packages folder only has package control in it though. Should other installed packages be located in here?
SidebarEnhancements, for example, does not work, even though it is in the packages folder. If I right click the sidebar I just get the "close" option. I've been trying to figure this out for weeks, and I figured I would just ask here and see if anyone could tell me what I need to do after I have the package in the packages folder, if anything.
With Package Control in Sublime Text 2, you really need to become cozy with a couple of different things to make it all work:
Always look up a package in the wbond community. There you'll be able to see how many people have installed that package (the more popular, the better) as well as the documentation on the package (if any).
Menu Items under Prefs > Package Control. Here you can install, remove or see a list of all installed packages.
Prefs > Package Settings. Here you'll find the settings that can be tinkered with as well as shortcut keys that are available. Make sure to make any changes in the User Settings, rather than the Default Settings. Otherwise, your settings will be overwritten when that package is updated.
CTRL+SHIFT+P. This will bring up a menu where you can look up a lot of the functions your installed packages can do. Just start typing and it will start filtering.
Here is a link to a shorter and to the point description:
http://www.granneman.com/webdev/editors/sublime-text/packages/how-to-install-and-use-package-control/
The steps are:
Install package control.
Go to http://wbond.net/sublime_packages/package_control/installation and grab the install code.
In Sublime Text 2 open the console (Ctrl+`) and paste the code.
Restart Sublime Text 2.
Open command palette via Command+Shift+P (Mac OSX) or Ctrl+Shift+P (Windows).
Start typing Package Control and choose the package you are looking for.
Try using Sublime Package Control to install your packages.
Also take a look at these tips
The Installed Packages Directory You will find this directory in the
data directory. It contains a copy of every sublime-package installed.
Used to restore Packages
So, you shouldn't put any plugin to this folder.
For getting works of SidebarEnhancements plugin try to disable and reenable this plugin with using Package Control. If it doesn't work then try to remove folder "SidebarEnhancements" from "Packages" folder and install it again via Package Control.
You may try to install Package Control first by following simple instructions available at Installation Guide (which is like 1. Open the Console, 2. Paste the code).
Then please check Package Docs Control Usage for Basic Functionality:
Package Control is driven by the Command Pallete. To open the pallete,
press Ctrl+Shift+P (Win, Linux) or CMD+Shift+P (OS X). All Package
Control commands begin with Package Control:, so start by typing
Package.
The command pallete will now show a number of commands. Most users
will be interested in the following:
Install Package
Show a list of all available packages that are available for install.
This will include all of the packages from the default channel, plus
any from repositories you have added.
This recently worked for me. You just need to add to your packages, so that the package manager would be aware of the packages:
Add the Sublime Text 2 Repository to your Synaptic Package Manager:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
Update
sudo apt-get update
Install Sublime Text:
sudo apt-get install sublime-text
Enabling a previously-installed Sublime Text package
If you have a subdirectory under Sublime Text 2\Packages for a package that isn't working, you may need to enable it.
Follow these steps to enable an installed package:
Preferences > Package Control > Enable Package
Select the package you want to enable from the list

Installing files to x64 "Program Files" from x86 msi

I'm creating installer using InstallShield 2010 (basic MSI) that is having two features.
First feature consists of:
main .NET application compiled as x86,
some native x86 third party dlls which are used by main application (x64 versions are unavailable).
Second feature contains single component which is an extension for MS Reporting Services compiled as AnyCPU.
During UI sequence I'm using InstallScript custom action to enumerate all available Reporting Services instances from both x86 and x64 registry trees.
The user is prompted to select on which instance he wants to deploy our extension.
Based on selected instance I'm quering registry for actual location of Reporting Services in file system which is usually something like "C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services" and storing this value in a MSI Property.
Then by using Set Directory action I'm setting destination directory of a component (our extension) to the value of that MSI Property.
Everything is installing perfectly fine unless you've trying to install it for x64 Reporting Services in that case extension files are installed to wrong location. Even thou MSI Property is set to correct path "C:\Program Files\MicroSoft..." (I've checked msi log) it looks like system is automatically redirecting to "Program Files (x86)".
Is there any possible solution to overcome this issue?
If you need to install to the 64-bit ProgramFiles folder, use a 64-bit MSI.
Finally solved this issue myself without creating 64bit MSI by using InstallScript custom actions.
First custom action to install:
Manually copy required files to desired location (InstallScript can access x64 Program Files)
Save this location in registry as a key component for this feature to use during uninstall
Second custom action to uninstall:
Read installed location from registry (do not use System Search to get this value due to it'll be auto translated by WindowsInstaller to "ProgramFiles (x86)")
Delete files
You can change the INSTALLDIR property to ProgramFile64 rather then ProgramFiles, this will help you to install on desired path, since you application is 32-bit so the path will be C:\ProgramFiles(x86)\Your Company Name\Your Product Name along with this have you made your components as 64-bit compatible?