Comments (10)
Hm, that's funny. The moment I remove this package, I can select AppleScript as source, but after a few seconds I an error. I should have a second look at this when I get home.
I'm not sure whether I used the package myself since I upgraded to 10.10, though I don't think this is related.
Edit: Same happens on 10.7.5, the same machine I used to create the animated screenshot.
from sublime-applescript.
I think this is a simple name conflict. As a quick solution you can do the following:
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User
git clone https://github.com/idleberg/AppleScript-Sublime-Text
Before I work on solving this issue permanently, I will speak to the Package Control developers to see if their update to 3.0 might have caused this.
from sublime-applescript.
Hi,
I just bumped into this same issue -- syntax highlighting for AppleScript vanishes -- and can confirm that it does appear to be a name conflict on my system, too.
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Installed Packages
mv AppleScript.sublime-package AppleScript-for-SublimeText.sublime-package
I also noticed that I was unable to list or remove the package from the command palette until after renaming the package file.
Cheers,
Jeff
from sublime-applescript.
Okay. This is indeed a name conflict and there will be a patch for Package Control sometime in the future. In the meantime here is what you can do:
- Delete the AppleScript package in
~/Library/Application\ Support/Sublime\ Text\ 3/Installed Packages
- Remove the AppleScript package from the user settings ("Preferences: Package Control Settings - User" in your command palette)
- Install via Git as described above
The Package Control developers like to do some more testing before releasing their patch. Before that there appears to be no alternative to the steps described above. Once the patch is out, installing this package via Package Control should work again.
Thanks a lot for reporting the issue. I'm very sorry for the inconveniences.
from sublime-applescript.
Thanks! I followed your directions, shutdown and re-opened Sublime Text (just to be safe) and all is well.
Cheers,
Jeff
from sublime-applescript.
Thanks for the directions! Seems as though the Package Control guys haven't updated yet.
To the best of your knowledge, will we have to reinstall this through Package Control for it to handle updates?
from sublime-applescript.
@Chris-May I'm afraid you will have to reinstall
from sublime-applescript.
Not a big deal. Thanks again for your help!
from sublime-applescript.
According to the Package Control developers, it should be working now. Works okay for me in Sublime Text 3.
from sublime-applescript.
I removed the cloned repository from my ST User directory, reinstalled the package and all is well for me, too (Sublime Text 3)! Thanks! :-D
Cheers,
Jeff
from sublime-applescript.
Related Issues (10)
- Syntax highlighting does not cover the entire file HOT 2
- "AppleScript: Toggle Binary" and AppleScript (Binary) syntax not working properly HOT 7
- Save cursor position and restore it after recompile binary HOT 1
- Nothing works in ST3 HOT 5
- Incessantly displays dialogs about binary files when used in windows HOT 1
- edited files not "dirty" HOT 2
- applescript build changes file to binary HOT 7
- 'Building...' message in status bar HOT 2
- Error loading syntax on startup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime-applescript.