Coder Social home page Coder Social logo

csharp-tmbundle's Introduction

C# TextMate Bundle Project status

This is the C# language TextMate bundle

Authors

License

This bundle is dual-licensed under MIT and GPL licenses.

Use it, change it, fork it, sell it. Do what you will, but please leave the author attribution.

Install

The quickest way to install the bundle is via the command line. If you have Git installed, you'll probably want to install with Git. With or without, you can simply copy and paste each line one by one into the Terminal instructions ( lifted from drnic ):

Install with Git

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone https://github.com/wintermi/csharp-tmbundle.git "C#.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Install without Git:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
wget https://github.com/wintermi/csharp-tmbundle/tarball/master
tar zxf master
rm master
mv wintermi-csharp-tmbundle* "C#.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Download

If you'd like to avoid the command line altogether, you can download the bundle and install it:

  1. download the zip from https://github.com/wintermi/csharp-tmbundle/zipball/master
  2. find the zip file on your local machine and double-click to unzip it
  3. change the file name from wintermi-csharp-tmbundle-really_long_alpha_numeric_sequence to C#.tmbundle (with a dot rather than a hyphen).
  4. double-click the C#.tmbundle file
  5. open TextMate and select the following menu item: Bundles > Bundle Editor > Reload Bundles
  6. show the Bundle Editor (Bundles > Bundle Editor > Show Bundle Editor)
  7. scroll through the list of bundles to confirm that the bundle has been properly installed

Known Issues

  • Mathematical Operators are missing from the symbol list
  • Properties where '{' are on a new line aren't in the symbol list
  • Methods with generics in the name are missing from the symbol list
  • Certain methods, e.g. TimeSpan.FromSeconds() are incorrectly added to the symbol list
  • Method signature variables with generic types aren't correctly italicized in TextMate 2
  • Method signatures with array [] aren't correctly italicized (though array[] works) in TextMate 2

Other Stuff

History

Version 2

This is a substantial rewrite of the original C# bundle heavily inspired by the Java bundle.

It has a hierarchical definition, allowing inner classes, etc. The symbol list will show up to several layers deep. Regions are marked in the symbol list as well at an appropriate depth.

Version 1

The original bundle was designed for use by TextMate 1.x and the e-Text Editor (Windows), so if you have issues with Version 2 of the bundle, please report a bug.

If you need access to the original bundle, then this has been tagged on GitHub and made available to download. C# Bundle v1.0

csharp-tmbundle's People

Contributors

lickel avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

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.