From b8623a43385cffd95d0d70bb8d90026098b2b308 Mon Sep 17 00:00:00 2001 From: dpslwk Date: Tue, 4 Nov 2014 14:24:18 +0000 Subject: [PATCH] (Mac OSX) Improve Quick look and syntax highlighting under OSX An exported UTI declaration means that the type is available for use by all other parties. By adding an this declaration for ino files, it allows Quick Look to display file content and external editors (like Xcode) to automatically syntax highlight .ino files as C++ --- build/macosx/template.app/Contents/Info.plist | 18 ++++++++++++++++++ build/shared/revisions.txt | 1 + 2 files changed, 19 insertions(+) diff --git a/build/macosx/template.app/Contents/Info.plist b/build/macosx/template.app/Contents/Info.plist index 5699d3ab9..73267a3b8 100755 --- a/build/macosx/template.app/Contents/Info.plist +++ b/build/macosx/template.app/Contents/Info.plist @@ -58,6 +58,24 @@ Editor + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.c-plus-plus-source + + UTTypeIdentifier + cc.arduino.Arduino.source + UTTypeTagSpecification + + public.filename-extension + + ino + + + + Java VMOptions diff --git a/build/shared/revisions.txt b/build/shared/revisions.txt index 5194f19cf..78416ebc4 100644 --- a/build/shared/revisions.txt +++ b/build/shared/revisions.txt @@ -5,6 +5,7 @@ ARDUINO 1.5.9 * Sketch build process: fixed full rebuild on windows even if not needed * Sketch build process: core.a rebuild only if needed (Matthijs Kooijman) * Updated AStyle formatter to v2.04: http://astyle.sourceforge.net/notes.html +* (Mac OSX) Add Exported UTI for ino files, allows quick look to view the content of the file and external editors to syntax highlight as C++ (Matt Lloyd) [core] * sam: added -MMD flag to let gcc produce dependency files (full rebuild on Arduino Due is now triggered only if needed)