vscode#DecorationRenderOptions TypeScript Examples

The following examples show how to use vscode#DecorationRenderOptions. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: relatedErrorView.ts    From ide-vscode with MIT License 6 votes vote down vote up
RelatedErrorDecoration: DecorationRenderOptions = {
  // Normal error: #F14C4C
  // Normal warning: #CCA700
  // The color below is the average of the two
  dark: {
    textDecoration: 'underline wavy #DF7A26 1px'
  },
  // Normal error: #E83120
  // Normal warning: #BF8803
  // The color below is the average of the two
  light: {
    textDecoration: 'underline wavy #D45D12 1px'
  }
}
Example #2
Source File: decorationsProvider.ts    From sourcepawn-vscode with MIT License 5 votes vote down vote up
options: DecorationRenderOptions = { textDecoration: "line-through" }
Example #3
Source File: ghostDiagnosticsView.ts    From ide-vscode with MIT License 5 votes vote down vote up
GhostDecoration: DecorationRenderOptions = {
  dark: {
    backgroundColor: '#64646480'
  },
  light: {
    backgroundColor: '#D3D3D380'
  }
}