compiler-explorer / compiler-explorer/compiler-explorer
[REQUEST]: Click-to-jump support for warnings on files introduced by webinclude
- Dominant language
- TypeScript
- Stars
- 19.1k
- Forks
- 2.1k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 67
Description
### Is your feature request related to a problem? Please describe
Suppose I have some errors in the files introduced by webinclude
For example https://godbolt.org/z/E7vMExf3s
```c++
#define ELC_WARNING_LEVEL 114514
#include
```
It will output the following error reporting
```
https://github.com/ELC-lang/ELC/tree/master/parts/header_file/files/elc/../../../_share/_defs.hpp(17): warning C4616: #pragma warning: warning number '114514' not a valid compiler warning
```
I wish I could jump directly to https://github.com/ELC-lang/ELC/tree/master/parts/header_file/files/elc/../../../_share/_defs.hpp#L17 by click , instead of selecting the url and copying and pasting it into the browser address bar, then scrolling to the corresponding line
### Describe the solution you'd like
Adding some special handling to the compiler output field, although I don't know much about js, it might not be difficult to match the url and possible line number with a regular expression and then attach a clickable link to that text
### Describe alternatives you've considered
I don't know
### Additional context
Not applicable
Contributor guide
Assessment
This issue has not been assessed yet.