NativeScript / NativeScript/nativescript-cli
Show a number for the code line in command line
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Is your feature request related to a problem? Please describe.
When getting an error, it is not everytime clear where it comes from. For example, when using Vue.js, you am getting an error message which looks like this (note the line of code next to vue.js:)
vue.js:597 [Vue warn]: Error in created hook: "TypeError: ... is not a function"
found in
---> <StageExecs>
In Nativescript / nativescript-vue you get an error message which looks like this:
JS: [Vue warn]: Error in created hook: "TypeError: Cannot read property '...' of undefined"
JS:
JS: found in
JS:
JS: ---> <IsRenovationFinishedField> at SomeFile.vue
But if you don't know the line of code it is very hard to find the error.
Describe the solution you'd like
Next to JS there should be a code line indicator
Describe alternatives you've considered
Additional context
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue では、ファイル、テスト、エントリーポイントのいずれも指定されていません。まず CLI が JavaScript のエラー出力をどのようにフォーマットしているかを追跡し、次に JS プレフィックスとソース位置がどこで生成されているかを特定してください。コマンドラインエラーの JS の横に、利用可能なコード行インジケーターが含まれることが完了の条件です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100