I have just downloaded Aptana 3.2.2 (standalone version) for the latest Mac OS X. I cannot find out how to set the encoding (preferable UTF-8) for my specific html-document. In Aptana 2 and in Visual Studio this is an easy catch, but I have now scanned all the menues in Aptana 3.2.2 without success.
Assuming that version for linux is similar as for Mac OS X, try right click on the specific file in the App Explorer and then go Properties (or try Alt + Enter while you edit file you want to change encoding). On the bottom of tab Resources you have "Text file encoding" where you can adjust this setting.
Also if you want to set encoding for whole project go Project -> Properties from the top menu which will let you change it for a bunch of files.
Related
I try to install Font-Awesome on my computer to make my design in photoshop. But I can't install it. When I try with Font Agent, the application show me: Unknown.
And when I force the installation in the system, my computer make a warning and say: the document are corrupt.
I try to download the older version, but it not work too.
I'm on a MAC OS 10.10.5 (and the version of my Font Agent is 4.140)
Thank for help! :)
Martine
download the font files from http://fontawesome.io/get-started/ (download on the right side)
unzip the archive
you’ll get 6 font files
install the the file with the .otf extension (I don’t know Font Agent but with double click on the file it will work)
open a textarea in photoshop and chose the font in your font list.
choose individual symbol via copy paste or over Type > Panels > Glyphs (https://helpx.adobe.com/photoshop/using/glyph-panel.html)
I have made a simple app and I want to change the version of the app from version 1.0 to version 1.2
An AppleScript applet has quite the same structure as a normal Cocoa application.
Right-click on the applet, select Show Package Contents, open folder Contents
Open file Info.plist with a text editor.
Update the value of the key CFBundleShortVersionString or – if it doesn’t exist – insert
<key>CFBundleShortVersionString</key>
<string>1.2</string>
Save the file.
From my experience (OS X El Capitan), after editing the file suggested above, you then have to rename your app for the version to change. Alternatively, you can change the name of the app before editing the text file, and then name it what you intended it to be after doing so. Only then will it change from Version 1.0 to whatever you want it to show - note: These instructions are only required to change version listed on the preview (when you click the app and press spacebar), the 'Get info' window changes immediately.
In the Script Editor, once you save your app, a sidebar option should pop up allowing you to change the app's version
I use Sublime Text 3 in my company and I want to export all the settings, including packages and whatever, to use the same configurations in Sublime Text 3 I have at home. How can I do this?
PS.: I use Windows 8
The best way is to sync the User directory, there are multiple available ways to do this - dropbox, git and manual ways.
Installed packages are registered in Package Control.sublime-settings, which is located in the user folder as well, thus, it does not require you to sync anything besides that. A pretty good guide to syncing can be found here.
You also may wish to check out this package.
For me (Windows installation) transferring all the content from old installation - AppData\Roaming\Subime Text 3, to new installation - AppData\Roaming\Subime Text 3, does the job. All the packages and UI settings are transferred and are working correctly.
None of the manual efforts are needed now (I think). Both sublime text (ver 3) and visual studio code (if anyone cares) have extensions that do this for us.
For VS Code -
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
For ST3 -
https://packagecontrol.io/packages/Sync%20Settings
With a few clicks like generating token and configuration, one should be able to easily port the settings from any machine (Win, OSX, Linux) to any machine.
You can try this plugin PackageSync. It can package your settings and packages into a zip or 7z file, then, you can import them on another machine.
As an aside an easy way to locate the 'User' or 'Sublime text {2/3/etc}' folder regardless of OS is to:
Open go-to-anything and just type: 'us'
From the available options select 'Preferences: Package Control Settings - User’ to open that file.
Right click on the file and make the selection to open the containing folder (Mac: reveal in finder)
Navigate back up to the parent folder Sublime Text 3 (or whatever version number you are on)
Copying this folder and replacing the Sublime Text 3 folder in a fresh Sublime install with this one should install all packages and replicate any other settings you have.
source
"If you want to sync settings across machines, the best way to do so is to just sync the Packages\User\ folder. This contains all customized settings, and if you are using Package Control, it includes a list of all installed packages. If Package Control sees that an installed package is not present on the machine, it will automatically install it the next time Sublime Text starts."
PS: if I am not mistaken the author of this post is the key developer of sublime.
I am using Xcode 4.0.2, the latest release of Xcode. All my projects or standelone source codes are in UTF-8 encoding. But when I open some source file (C/C++/Objective C), all text is interpreted in Mac OS Roman encoding and I don't know why. I've tried remove and delete all Xcode files by uninstalling Xcode. So reinstalling doesn't help. All source codes are opened in Mac OS Roman encoding. In Xcode settings I have default encoding UTF-8 (but that is for new files I think). Also I've tried reinstall libiconv that Xcode may use for detecting encodings.
I don't know about anything that may caused this. I didn't make any changes to my system, programs or data and I am sure, this I didn't have this problem one week ago.
Anyone?
Thanks,
Martin
If you open up the right side view (top right view buttons) there are some settings.
Try setting the encoding there under 'text settings' for that file.
You may need to copy in your text again if the reinterpretation doesn't work.
I'm using Eclipse for programming. In one method of my project i used the String "§". I use a svn repository. If i edit the file with Ubuntu OS the § symbol isnt displayed correctly in the eclipse editor and also in my programm, if I edited it before on Windows. The same is vice versa.
Any hints how to solve this problem? I don't want to always change the symbol manually if I comitted a new version from another OS
Check the "Text file encoding" of your sources.
(Preferences / General / Workspace)
I would recommend in your case UTF-8.
You can also set the default type in Preferences / General / Content Type / Text / Java source file
alt text http://img401.imageshack.us/img401/4341/eclipseencoding.png