dotnet / dotnet/csharp-tmLanguage

C# Code coloring glitches after method that returns Task of tuple

オープン
#97 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bug
主要言語
TypeScript
スター
78
フォーク
43
平均マージ
34分
マージ済み PR(30日)
1

説明

_From @ahmadalli on December 23, 2017 13:25_

- VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:35:14.671Z)
- OS Version: Darwin x64 17.3.0
- Extensions:

Extension|Author (truncated)|Version
---|---|---
swagger-viewer|Arj|1.5.0
csharp|ms-|1.13.1

---

Steps to Reproduce:

1. Have a c# code with a method that returns task of a tuple.
2. this happens (take a look at the coloring of lines 73 to 98):

![image](https://user-images.githubusercontent.com/2167301/34319878-f05904e8-e801-11e7-9d2b-49b208a3c53d.png)

Reproduces without extensions: Yes (the image above is taken with `--disable-extensions` flag)

_Copied from original issue: Microsoft/vscode#40754_

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

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

調査の方向性

報告されている C# 文法以外の csharp 拡張機能を無効にした状態で、タプルの Task を返すメソッドを使用して VS Code 1.19.1 で問題を再現します。影響を受ける行の周辺で構文カラーリングの動作を調査し、メソッド宣言の後もカラーリングが正しいままであることを確認します。

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

評価

技術スタック
csharp
領域
tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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