google / google/closure-compiler

display filename in advanced mode

Open
#1,251 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

Hi, I found annotating filename very helpful for as below, I had a very small patch to do this, I am not sure closure developers find this interesting(it maybe not that precise, but it is good enough for me to guess which code does it come from), if so, I am more than happy to submit a small patch

``` js
// Input 0./caml_exceptions.js
'use strict';
// Input 1./caml_array.js
// Input 2./caml_utils.js
// Input 3./caml_string.js
// Input 4./caml_primitive.js
var a = 0;
// Input 5./caml_format.js
// Input 6./caml_io.js
// Input 7./camlinternalFormatBasics.js
// Input 8./pervasives.js
a++;
// Input 9./list.js
// Input 10./char.js
// Input 11./bytes.js
// Input 12./string.js
// Input 13./sys.js
a++;
// Input 14./caml_float.js
// Input 15./buffer.js
// Input 16./camlinternalFormat.js
a++;
// Input 17./printf.js
// Input 18./arg.js
a++;
a++;
a++;

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.