davidrios / pug-tmbundle

A comprehensive textmate / sublime text bundle for the Pug (formerly Jade) template language.
https://github.com/davidrios/pug-tmbundle
MIT License
48 stars 20 forks source link

C# Method Syntax highlighting issue #27

Closed alexr00 closed 5 years ago

alexr00 commented 5 years ago

From @CCludts on January 3, 2019 5:47

Issue Type: Bug

Syntax highlighting breaks when formatting function signatures in certain cases. Reproduces also with extensions disabled (see screenshot). Reproduces also on vscode-insiders 1.31.0-insider

image

public class Hello {
    // correct syntax highlighting
    public Task<(string users, string missingUserIds, string unprocessedUserIds)> FetchUsers() {
        return null;
    }

    // different formatting. breaks syntax highlighting
    public Task<(
            string users,
            string missingUserIds,
            string unprocessedUserIds)> FetchUsers() {
        return null;
    }
}

VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:07.165Z) OS version: Windows_NT x64 10.0.17134

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Memory (System)|15.94GB (4.28GB free)| |Process Argv|E:\project| |Screen Reader|no| |VM|0%|
Extensions: none _Copied from original issue: Microsoft/vscode#65951_
alexr00 commented 5 years ago

This issue was moved to dotnet/csharp-tmLanguage#146

alexr00 commented 5 years ago

Moved issue to the wrong spot.