
PreviewCode
macOS / developpeurs
PreviewCode provides QuickLook file previews and Finder file icon thumbnails for source code documents and data files for a wide variety of programming languages.
The app provides two app extensions: Code Previewer and Code Thumbnailer, which can be viewed and managed in macOS’ System Preferences > Extensions. The app itself is a container for these extensions.
You must run the app first to gain these benefits.
PreviewCode supports the following languages features:
• ActionScript
• Ada
• AppleScript
• Arduino
• Basic
• Brainfuck
• C
• C++
• C#
• Clojure (see Known Issues, below)
• CoffeeScript
• Dart
• Elixir (see Known Issues, below)
• Elm
• Erlang
• Fortran
• F#
• GML
• Go
• Haskell
• Java
• JavaScript
• Julia
• Kotlin
• Lisp
• Lua
• Objective-C
• Pascal
• Perl
• PHP
• Python
• Ruby
• Rust
• Swift
• TypeScript (see Known Issues, below)
• Visual Basic Script
• Vue.js
Shell Scripting
• Bash
• C Shell
• Korn Shell
• TCSH
• Z Shell
Assembly
• ARM Assembler
• x86-64 Assembler
Others
• Asciidoc
• CSS
• DxO PhotoLab sidecar (.dop)
• Extensible Metadata Platform files (.xmp)
• LaTex
• Protobuf
• SASS/SCSS
• SQL script
• Twig
• Terraform source and vars files
• CMake files
• .env files
• Config files
• Asciidoc
• Xcode files (.storyboard, .xib, .plist, .strings)
Known Issues
• PreviewCode will not render TypeScript .ts files: the .ts file extension is pre-set on macOS to MPEG-2 transport stream video files. The .tsx and .typescript extensions are supported.
• PreviewCode will not render Clojure .edn files: the .edn file extension is pre-set on macOS to an Adobe digital rights management product.
• PreviewCode will not render Elixir .exs files if GarageBand and/or Logic Pro is installed on your Mac. This is because these apps use this file extension for EXS24 instrument files.
• Previews displayed on external displays, or on Macs with connected to multiple monitors, may intermittently not be scrollable if you’re using a third-party mouse. Workaround: a MacBook’s built-in trackpad will be able to scroll.
• Deselecting code in the preview is not immediate: the highlight clears after ~1s. We are investigating fixes.
Quoi de neuf dans la dernière version ?
• Add .xmp (Extensible Metadata Platform) file support.
• Add .dop (DxO PhotoLab sidecar) file support.
• Add .strings (Apple Xcode strings) file support.