Live data from Hacker News

TypeScript included with Visual Studio 2013 Update 2

blogs.msdn.com

101–110 of 111 posts

Re: TypeScript included with Visual Studio 2013 Update 2

#101
post #5
post #3

Earlier quoted context omitted.

I think this is more directed at C# users. The focus of TS is to let tooling (specifically Visual Studio) do the same stuff it does in C#. They tried and failed to make VS good for JS.

Well, even if it's directed at C# by Microsoft, it's used by a lot of people that are not into Visual Studio or Microsoft. TypeScript is a lot more than "IDE tooling", even though proper intellisense makes it a lot of nicer to develop. It's not like Microsoft somehow failed to make VS good for JS, it's theoretically impossible to make VS do to JS what TS can do for any IDE.

"it's used by a lot of people that are not into Visual Studio or Microsoft"

Really? Who? I just don't see them or they must be really good at abstracting away this activity.

Re: TypeScript included with Visual Studio 2013 Update 2

#102

Earlier quoted context omitted.

I write TypeScript in vim and don't wish to run proprietary software, save for a few games on a machine dedicated for that purpose. It works simply by adding this line on the top or bottom: /* vim:set filetype=javascript: */ You can add other options in there as well, so it's easy for others to match your indentation style for instance.

Why don't you use https://github.com/leafgarland/typescript-vim ? There is also https://github.com/clausreinke/typescript-tools

Thanks!

Re: TypeScript included with Visual Studio 2013 Update 2

#103
post #26

I still don't quite understand why anyone would use TS... especially without an IDE.

Enabling rich IDE support is precisely the point of TypeScript and similar enhancements like Python 3 type annotations: Give the computer in front of you enough information to automatically do for you what you would otherwise have to do manually, freeing you up to focus on higher level problems.

And at the same time doing what Java did, abstracting away what is under the hood, so when something brakes. SOL. But this might be good, keep JS for the Pro's and TS for the Joe's?

Re: TypeScript included with Visual Studio 2013 Update 2

#104

Earlier quoted context omitted.

I write TypeScript in vim and don't wish to run proprietary software, save for a few games on a machine dedicated for that purpose. It works simply by adding this line on the top or bottom: /* vim:set filetype=javascript: */ You can add other options in there as well, so it's easy for others to match your indentation style for instance.

Why don't you use https://github.com/leafgarland/typescript-vim ? There is also https://github.com/clausreinke/typescript-tools

Haa! Much like adding a 70's Lac Engine into a Tesla. If it works that is cool and trendy and not monetarily smart.

Re: TypeScript included with Visual Studio 2013 Update 2

#106
post #5

Earlier quoted context omitted.

Well, even if it's directed at C# by Microsoft, it's used by a lot of people that are not into Visual Studio or Microsoft. TypeScript is a lot more than "IDE tooling", even though proper intellisense makes it a lot of nicer to develop. It's not like Microsoft somehow failed to make VS good for JS, it's theoretically impossible to make VS do to JS what TS can do for any IDE.

"it's used by a lot of people that are not into Visual Studio or Microsoft" Really? Who? I just don't see them or they must be really good at abstracting away this activity.

I haven't seen any Papuan, ever. Doesn't mean they don't exist.

As a side project, I'm creating a framework to build Gjs applications using TypeScript. The neat thing is that the compiler can easily create a combined JavaScript file, which when appended to a stub JS file results in a single executable for installation. The bad part is that the supplied lib.d.ts contains definitions for objects that don't exist.

See https://wiki.gnome.org/JavaScript

Re: TypeScript included with Visual Studio 2013 Update 2

#108

Earlier quoted context omitted.

Not sure I understand your use of REPL - in Visual Studio you edit XAML in the right pane, and the change is reflected in the left pane as you type. That's more efficient than editing HTML or CSS in a text editor, saving, switching to browser, refreshing page. Can you explain?

The XAML editor in Visual Studio was broken for years. Blend, once you learn how to use it, is a much nicer tool. In any case, unlike HTML you really don't want to be writing XAML by hand.

I write all my XAML by hand. Blend is a bit too cavalier for my liking, especially when building for Windows Phone.

Re: TypeScript included with Visual Studio 2013 Update 2

#109
post #3

Earlier quoted context omitted.

I think this is more directed at C# users. The focus of TS is to let tooling (specifically Visual Studio) do the same stuff it does in C#. They tried and failed to make VS good for JS.

I love VS for javascript. With ReSharper installed it is great. I guess maybe I answered my own question by admitting I need a JetBrains tool in there but: What tool is so great for Javascript? I use Sublime a lot as well on my Mac, and I don't like it as well.

Try emacs with ternjs (http://ternjs.net/)

Re: TypeScript included with Visual Studio 2013 Update 2

#110

Now support for Less, Sass in the IDE instead of using Extensions ;)

LESS was added in Visual Studio 2013[1], SASS is in the 2013.2 CTP 2 release[2] [1] http://blogs.msdn.com/b/webdev/archive/2013/11/06/a-high-val... [2] http://blogs.msdn.com/b/webdev/archive/2014/02/25/announcing...

Weird, my latest test with less made me download extensions and all of that...

But thx, i'm going to check it out :)

Post reply on HN