22

I would like to know if there is any possibility to get a similar Codecompletion / Autocomplete in Atom like it is Webstorm.

Right now I am trying to get used to typescript and I really like it so far, but what really annoys me is, that I cannot get any Codecompletion in atom working for my HTML files.

That would make my life so much easier....
That is how it looks in Webstorm (trial version) webstorm screenshot

The Interface is very simple:

interface Person {
 name: string;
 lastName: string;
 birthday: number;
}

The Controller looks like that:

module myModule {
export interface IMyScope extends ng.IScope {
 person: Person;
}
export class MyCtrl {
 constructor($scope: IMyScope) {
 $scope.person.name = "Lucifer";
 }
}
angular
 .module('myModule')
 .controller('MyCtrl', MyCtrl);

}

It works perfectly fine in *.ts files... For example in Atom: enter image description here

But it does not work in HTML files. Like here: enter image description here

Any hint, configuration issues whatsoever you can tell me would be highly appreciated! Thanks for reading!

Joe
31.4k13 gold badges77 silver badges101 bronze badges
asked Sep 18, 2016 at 12:40
2

1 Answer 1

4
+50

A good autocomplete package in atom is Autocomplete Plus.

In the documentation, it links to a list of providers, the one you want is for html.

answered Oct 6, 2017 at 23:19
Sign up to request clarification or add additional context in comments.

3 Comments

Great suggestion; however, we're looking for an HTML auto-complete package which supports TypeScript from the corresponding Angular component.
@Trent - are you using atom.io/packages/atom-typescript right now?
Yes, I am using the atom-typescript package.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.