microsoft / microsoft/TypeScript-Sublime-Plugin
What would be the effort needed for having type completion in html files.
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.7k
- Fork
- 236
- Merge medio
- 21g 13h
- PR unite (30g)
- 1
Descrizione
I understand that this question is related to specific frameworks used in the editor in conjunction with typescript (e.g. angular2, aurelia, ...)
So, let's focus on a case where a viewModel (a .ts) goes together with a view (a .html).
the viewModel is a typescript class and contains a definition for 'Customer' having firstName and lastName props.
When creating the view, I would like to have type completion on the specific bind statement (so, in the example here on the string inside value.bind.
///////here some magic to 'bind' the view to the viewModel with respect to type completion
<div class="col-sm-10">
<input type="text" placeholder="First Name" class="form-control"
value.bind="customer.firstName" />
</div>
The above example is aurelia, but similar stuff can happen in other frameworks.
I think I saw similar things in visual studio in asp.net MVC.
How realistically would it be to make this happen also for sublimeText ?
Thanks.
paul.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia definendo la sintassi di binding HTML supportata e l’ambito del framework, quindi valuta come un TypeScript viewModel potrebbe essere associato a una vista HTML; il lavoro sarà considerato completato con una decisione documentata sulla fattibilità e sull’ambito dell’implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- html, typescript
- Ambito
- developer-experience, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 18/100