Coder Social home page Coder Social logo

textmatebundleinstaller's Introduction

Syntax Highlighting Pack

Build status

Download this extension from the VS Gallery or get the CI build.


Adds syntax highlighting and snippet support for a wide variety of programming languages such as Clojure, Go, Jade, Lua, Swift, Ruby and many more...

See the change log for changes and road map.

Documents
Showing Perl, Stylus and Ruby

TextMate bundles

This extension uses Visual Studio's capability to load TextMate bundles.

It works by registering TextMate bundles so that Visual Studio will automatically load them when a file is opened that matches one of the bundles and no other language service is available for the specific file type.

For instance, this extension contains a TextMate bundle for YAML files, but if you decide to install the more powerful YAML Editor extension then that extension will win. That makes it safe to install this extension even if you have separate extensions for one or more of the languages already.

Supported languages and file types

  • Antlr
  • Apache (.htaccess)
  • Asm
  • ASN
  • ASP
  • Azure Log Analytics (Kusto)
  • Batch
  • Bond
  • C++ QT
  • Cake
  • Clojure
  • CMake
  • CSS
  • Cucumber Feature
  • Cypher Query Language
  • Dart
  • Diff
  • Dockerfile
  • Elixir
  • Elm
  • Erlang
  • EYAML
  • F#
  • FoxPro
  • Gettext
  • Git configs
  • GN
  • Go
  • Gradle
  • Groovy
  • HAML
  • Haskell
  • HCL
  • ICalendar
  • Idris
  • Ini
  • Inno Setup
  • Jade/Pug
  • Java
  • JavaDoc
  • JSON
  • Lisp
  • LaTeX
  • Lua
  • LESS
  • Matlab
  • Make
  • Markdown
  • Nim
  • NSIS
  • Objective-C
  • Pascal
  • Perl
  • PostScript
  • PowerShell
  • Protocol Buffer
  • Puppet
  • QML
  • R
  • Ruby
  • Ruby on Rails
  • Rust
  • Scala
  • Scheme
  • ScriptCS
  • Shaderlab
  • ShellScript (Bash)
  • Slim
  • Solidity
  • SPARQL/Turtle
  • SQL
  • Stylus
  • Swift
  • Terraform
  • TickScript
  • TOML
  • Thrift
  • TTCN-3
  • VHDL
  • XQuery
  • YAML

Unsupported langauges

The Textmate bundle support in Visual Studio 2015/2017 doesn't support all languages. Here are some extensions that provide language support to some of these unsupported languages:

Also please note that Textmate bundles for JavaScript and TypeScript are not working correctly and it is recommended to install the native VS components for those languages.

Known issues

You need Visual Studio 2015 Update 3 or newer for the Textmate bundles to work correctly.

File Icons

For the best experience, it is recommended that you also install the free File Icons extension.

Contribute

Feel free to suggest new languages not currently supported by this extension on the issue tracker. If you know a TextMate bundle that would work, then remember to add a link to that as well.

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

textmatebundleinstaller's People

Contributors

gojimmypi avatar madskristensen avatar maitre-matt avatar stamminator avatar stijnherreman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

textmatebundleinstaller's Issues

Highlighting sometimes isn't applied when doing a Diff

Installed product versions

  • Visual Studio: 2015 Enterprise
  • This extension: 1.2.17

Description

When I run a compare on project files, no syntax highlighting occurs. However, if I open the same file normally, syntax highlighting does occur. I've tried doing compares of a few other file types and they have all worked so perhaps there is something special with project files (or I may not have done enough testing to notice a pattern).

Steps to recreate

  1. Make a change to a project file under source control (e.g. add a new file)
  2. Run a Compare on the .csporj file and notice no syntax highlighting occurs
  3. Unload the project (right click --> Unload Project) and then edit the project file directly. Notice that syntax highlighting, autocompletion, etc. all functions as expected

Current behavior

No syntax highlighting when doing a diff
diffnohighlight

But is highlighted when editing normally:
projfilehighlighting

I also noticed that the extension is aware that it can't do the highlighting because it adds a "Report missing language support for .csproj files" to the context menu when doing a diff (but that is is not added when editing the file normally)

Expected behavior

Ideally the syntax highlighting would occur when looking at the diff.

Select the syntax from the context menu

Installed product versions

  • This extension: 1.5.42

Description

This should be very useful if you can apply the syntax to the ile with unknown extension or without extension. Easy way when I can choose a syntax from the context menu.
You may also remember my choice for the current file
Is API enough for this?
#15

Missing support for GLSL .frag, .vert, .geom files

GLSL fragment shader and vertex shader files. Its a C derivative with a lot of builtins.

There are other files following the same scheme with minor differences for tesselation control shader, tesselation shader, compute shader

If you would just add a quick fix treating them as C, it would be nice too. supporting builtins would be ideal.

Missing support for bash script file without extension

Installed product versions

  • MICROSOFT VISUAL STUDIO ENTERPRISE 2015
  • This extension: Syntax Highlighting Pack 1.2.17

Description

Very good Pack. But. Is it possible recognise bash syntax for files without extensions?

I have a lot of script files without extensions, but Syntax Haghlighting Pack ignores them.

!/bin/bash in the first line allows you to determine that it was a bash script

Missing support for .php files

Any thing for students free of charge (community edition of vs2015) available?
In future is it possible, to get a free version, which works without any issues.

Intellisense for comments

Installed product versions

  • This extension: Syntax Highlighting Pack 1.2.17

Could you add detection comments to be able to use the command: comment out a line or selection (Ctrl+K or Ctrl+C)

Wrong comment out the selected lines

Installed product versions

  • Visual Studio: ENTERPRISE 2015
  • This extension: 1.5.42

Description

Commenting of one line work perfect. Multiple lines does not commented - only first line in the selection.

Steps to recreate

Take a simle text

1 not selected line
2 line for comment
3 selected for comment
4 must not to be selected

Select some line. (Mouse above line numbers (6 line), push LMB, move mouse down for select two lines, release LMB)
image
Push the "Comment out the selected lines" button (Ctrl+k, Ctrl+o)
image

Current behavior

  1. Only line 2... was commented.
  2. Line 4... was selected too.

Expected behavior

After "comment out the selected lines" selection shuold not expand to next line.
All lines in the selection shuold be commented.

Missing support for .sql files

When comparing SQL Files (as part of a Visual studio Database Project) would be awesome to have SQL Support :) . I realise its not really a high priority. Thanks for all your work Mads.

None of the language packs work

I've installed the plugin, and the bundles are just unused, is there some fancy way to install this, which is not documented, or could there be anything that just blocks the bundles?

[suggestion] Add "force use this extension for file type" setting.

Installed product versions

  • Visual Studio: 2015 ent, upd 3
  • This extension: latest (built from this repo)

Description

I can't get your beautiful extension to work on my working instance of VS, but it works on experimental instance (when i build your extension from this repo and run it).
Obviously, some extension or somewhat is interfering (and, as you say, your extension has lowest priority).
I've tried like 5-7 file types with no positive results. there is no highlighting in any of them and I seemingly have nothing installed to be used for those types.
I've switched off all extensions that may theoretically interfere, but no result also.

While I understand it's my "fault", I will dare to suggest couple of features:

  • in settings dialog: add list of supported file types with checkboxes. Checkboxes will mean "force this". So your extension will be low priority for those extensions, which are unchecked and top priority for those are checked.
  • or/and add "debug mode", which will log, "who" is in control of highlighting for particular file type. (or please direct me where to search it, so i figure out myself)

thanks, and sorry if this type of request must not belong here (tho, I suppose it confirms with the guidelines)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.