Live data from Hacker News

Visual Studio Code 1.5

code.visualstudio.com

231–240 of 270 posts

Re: Visual Studio Code 1.5

#231
post #224

Earlier quoted context omitted.

Jet-brains products have a gigantic plugin ecosystem that allows you to add whatever functionality you want..

Well, not everything. Language support cannot be implemented by relying on an external service (like the typescript service), it has to be implemented in a very specific way. They are extensible, sure, but not very flexible.

The TypeScript service is not from Jetbrains, but coding assistance like type inference and auto-completion options have thus far always been this IDEs own implementation [0]:

    > This assistance can be provided either by IntelliJ IDEA itself, or based on the data from
    > the built-in TypeScript compiler, or through integration with the TypeScript Language Service.
They bundle whatever latest TS is available when the product is created or let you point to your own installation. "Use TypScript Service" is marked "experimental", so letting the IDE use the external service for things it traditionally figured out on its own to provide coding assistance is being worked on.

[0] https://www.jetbrains.com/help/idea/2016.2/typescript-suppor...

Re: Visual Studio Code 1.5

#232
post #117

Earlier quoted context omitted.

They mean the file name is the same and you end up with several files in the download folder without knowing what's the one you need.

If only we could sort files by date or something like that.

Fine in this case; not so good for paper.pdf or setup.exe!

It's not the end of the world, just a minor annoyance, of a type I'd seen before, that (having 5 free minutes while in the middle of something) I felt moved to comment on.

Re: Visual Studio Code 1.5

#233
post #139

Earlier quoted context omitted.

Honest question as I'm not really part of the open source world: 1. What happens to your change when an update comes out? (Or, do you keep up with updates) 2. Having just merged my first ever pull request, how does a project stay coherent with possibly hundreds or thousands of people submitting their 'hacks'?

My fix is just a quick hack and not polished enough to submit, so I'll just reapply it. I'm guessing that the vscode programmers will add a search history and I won't have to keep doing this.

Pull Request https://github.com/Microsoft/vscode/pulls

At the very least it could be considered a vote for the feature.

Re: Visual Studio Code 1.5

#234
post #219

Earlier quoted context omitted.

I wasn't only associating quality with price, but also pointing out that many of the 2016's Emacs and vi users would not use them if they were only available as commercial software. Regardless of their quality, because the actual IT generation wants to earn money with tools they got for free (beer), while other professions people do pay for their tools.

> Regardless of their quality, because the actual IT generation wants to earn money with tools they got for free (beer), while other professions people do pay for their tools. You seem to feel strongly enough about this to repeat it nearly word-for-word in multiple comments. Trust me, every profession wants to pay less for its tools. And no one, in IT or out, is choosing their tools "regardless of quality".

I feel strongly about it because this mentality reduced the market of selling software tools to a niche, to the point that to earn money selling tools, we have to sell them to enterprise customers, the only ones willing to pay for software.

This is why most companies selling such software tools have switched their basic versions from "trial during X days/trial license" to free (beer), while trying to seduce developers to eventually pay for the full version.

Re: Visual Studio Code 1.5

#235

Earlier quoted context omitted.

Can you share your instructions for setting it up please? I found it very unconvincing last time I tried - I had weird errors installing .net Core, weird errors setting up tools in VS code and found no definitive instructions. I expected it to work pretty much out of the box... but no.

I installed .Net Core on a brand new Mac following the (seemingly very simple) instructions on Microsoft's web site and had errors too. Not impressed with that aspect at all. Not sure if my fixes were correct or if everything was working correctly so I just abandoned .Net Core on the Mac.

Okey guys there has been some additions in what you need to do nowadays because of some problem regarding encryption libraries.

What you do on mac is:

    brew update
    brew install openssl
    ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
    ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
Then download the .net core installer for mac and it will work. Also make sure you download the C# extension in VS Code.

Re: Visual Studio Code 1.5

#236
post #217
post #187

Earlier quoted context omitted.

Surprised?? With $120+ per year subscription I am surprised people use it.

120 is for businesses. For individual developers its way cheaper: € 59.00 /1st year, € 47.00 /2nd year, € 35.00 /3rd yr onwards. And you can cancel your subscription if you are OK with 1 year old version that you will fallback to.

My complaint was not so much about the amount, but rather for the yearly subscription.

I really don't like this trend of software as subscription.

If it was $120 for buying a license I would probably consider it. But $120 for 1 year use is rather high in my book.

Re: Visual Studio Code 1.5

#237
post #224

Earlier quoted context omitted.

Well, not everything. Language support cannot be implemented by relying on an external service (like the typescript service), it has to be implemented in a very specific way. They are extensible, sure, but not very flexible.

The TypeScript service is not from Jetbrains, but coding assistance like type inference and auto-completion options have thus far always been this IDEs own implementation [0]: > This assistance can be provided either by IntelliJ IDEA itself, or based on the data from > the built-in TypeScript compiler, or through integration with the TypeScript Language Service. They bundle whatever latest TS is available when the pr…

Oh, looks like I haven't re-checked recently enough - this was almost a year ago. I should give it another try...

Re: Visual Studio Code 1.5

#238
post #103

This package suffers from what I like to call the paper.pdf problem - very different files, rather uselessly (although not entirely illogically) given identical file names: ~/Downloads % md5 VSCode* MD5 (VSCode-darwin-stable(1).zip) = b33b479ffa87052d05ed0141e64ad8a8 MD5 (VSCode-darwin-stable.zip) = 86f129fe0d75c195370da4b46814389c ~/Downloads % ls -l VSCode*.zip -rw-r--r--@ 1 tom staff 49908098 8 Sep 23:04 VSCode-da…

I have noticed Microsoft do that a lot.

I was downloading an update to MS Sql the other day and the file was named exactly the same as the prior version. I was quite confused and could not even check if it was a later version until I double-clicked the installer.

Not sure what is stopping them from appending a version number to their filenames.

Re: Visual Studio Code 1.5

#239
post #113
post #102

Earlier quoted context omitted.

Typescript is great and is "natively" included in Angular2, however it's not the case for react and vue.js ecosystems. Tried to use/learn typescript, in the meantime I wonder if there is a document showing how to use certain "safe" javascript along with its strict mode to make javascript secure enough so that I don't need use Typescript? i.e. how about using a subset of native javascript with certain rules that can a…

React may not have "native" support for TypeScript, but in combination with TypeScript using React is so much more fun, if only for the fact that your props can actually be typed and checked at compile time.

I wrote up how to get started with Typescript and React (and VS Code) - I need to update it for 2.0 but 99% of it is still correct: http://blog.tomduncalf.com/posts/setting-up-typescript-and-r...

Re: Visual Studio Code 1.5

#240
post #162

Earlier quoted context omitted.

The standard recommendation seems to be to use PropTypes. And also in general, to use Babel with React programs. Would be interested to hear experiences of using Typescript with React.

In my opinion React support is progressing quickly but is not fully there yet (definitely more documentation is needed), so for the JSX part the pain is greater than the gain (especially given PropType checking already in React). As an example, to see what I mean, try to figure out how to write a properly typed Higher Order Component function. Last time I looked at it, this had no direct mention in documentation and…

You can "pass through" props like so:

export var hocFunction: (arg1: any, arg2: any) => (component: ComponentT) => ComponentT

If you want to add new props as a result of the HOC then see the react-redux .d.ts for a few examples: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...

Post reply on HN