You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So 1.31 apparently introduces multiline messages in the problem panel. But there does not seem to be any documented way to actually generate these messages, such as in tasks.json, from arbitrary build tools.
The available documentation mentions "multiline problems", but the messages must still be each on a single line, whereas the messages I want to match are each multiline. Here's an example, from the output of the GHC compiler:
/home/ashley/Projects/Haskell/Truth/truth-gtk/text/Main.hs:62:44: error:
• Couldn't match expected type ‘(UISpec sel edit, Bool)
-> (UISpec sel edit, Bool)’
with actual type ‘(UISpec sel1 tedit1, Bool)’
• The function ‘(menuBarUISpec mbar, False)’
is applied to one argument,
but its type ‘(UISpec sel1 tedit1, Bool)’ has none
In the expression: (menuBarUISpec mbar, False) (spec, True)
In the first argument of ‘verticalUISpec’, namely
‘[(menuBarUISpec mbar, False) (spec, True)]’
• Relevant bindings include
spec :: UISpec sel edit (bound at text/Main.hs:59:50)
simpleUI :: (UIWindow, ()) -> UISpec sel edit -> UISpec sel edit
(bound at text/Main.hs:59:21)
|
62 | in verticalUISpec [(menuBarUISpec mbar,False)(spec,True)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Currently the best I can do is match the first line.
The text was updated successfully, but these errors were encountered:
The available documentation mentions "multiline problems", but the messages must still be each on a single line, whereas the messages I want to match are each multiline.
@alexr00 just to clarify, the documentation you point to is for multiline problems with single-line messages. The feature introduced in 1.31 is multiline problems with multi-line messages.
I see. Then this is a duplicate of #9635, which we are considering adding API for.
alexr00
added
*duplicate
Issue identified as a duplicate of another issue(s)
and removed
*question
Issue represents a question, should be posted to StackOverflow (VS Code)
labels
Feb 22, 2019
So 1.31 apparently introduces multiline messages in the problem panel. But there does not seem to be any documented way to actually generate these messages, such as in
tasks.json
, from arbitrary build tools.The available documentation mentions "multiline problems", but the messages must still be each on a single line, whereas the messages I want to match are each multiline. Here's an example, from the output of the GHC compiler:
Currently the best I can do is match the first line.
The text was updated successfully, but these errors were encountered: