Compose language service doesn't recognize `restart` option
Opened this issue · 3 comments
DoctorKrolic commented
Example compose file:
version: '3.4'
services:
test:
restart: always
...
- Howering over
restart
doesn't yield any results - If you remove
always
and try to invoke completions there, no results are shown, even thoughrestart
in docker compose has a finite set of well-known values:no
,always
,on-failure
,unless-stopped
bwateratmsft commented
@DoctorKrolic do you have the YAML extension by Red Hat installed? Certain features will behave differently if it is present. I'm not sure if it covers restart
but it may.
DoctorKrolic commented
DoctorKrolic commented
As about completions, yaml extension doesn't provide them for restart
as well