microsoft / microsoft/TypeScript-Sublime-Plugin

What would be the effort needed for having type completion in html files.

オープン
#326 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Question
主要言語
JavaScript
スター
1.7k
フォーク
236
平均マージ
21日 13時間
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず、サポートするHTMLバインディング構文とフレームワークの対象範囲を定義し、次にTypeScript viewModelをHTMLビューに関連付ける方法を評価してください; 完了条件は、実現可能性についての判断と実装範囲が文書化されていることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
html, typescript
領域
developer-experience, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
18/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。