Open surajnarwade opened 6 years ago
@surajnarwade note that YAML LS won't work for all stacks, just for those with node.js installed.
@eivantsov but if we decide on installing dependencies as a resolution to #2179, then we can enable it by default? WDYT?
Yes, it is just a matter of workspace configuration.
In order to use YAML completion or Kubernetes or Kedge support, we need the YAML language server, which is not enabled by default. The end user experience to enable this in the Che workspace settings as follows:
Post this, the pod gets restarted and then we can specify the setting for YAML completion under preferences.
This is really bad user experience, because there is no documentation for this behaviour! Also, under Profile -> Preferences -> Language Server Settings, the YAML settings are there, but it does not work for the same reason of missing documentation.
It would be great is we enable the YAML Language Server by default so the user can go about specifying the setting under Preferences without any other configurations.
PTAL, thanks!
CC: @containscafeine @jpinkney