Answers.Body: <p>Maybe adding an empty parameters block would fix it?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-06-20T11:11:44.953Z
Answers.LastActivityDate: 2024-06-20T11:11:44.953Z
Answers.UserDisplayName: haz
Body: <p>I wrote a simple plan (switch-on, switch-off) which works in <a href="https://editor.planning.domains/" rel="nofollow noreferrer">plan editor</a>. However, I write the same plan in VS-Code and it indicates I have Errors. I have tried many times to change indentation, etc, but nothing seems to work. For some reason, this is the only action which causes errors but other action is not flagged by the system. Here is a screenshot. <a href="https://i.sstatic.net/jaGT5ZFd.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/jaGT5ZFd.png" alt="enter image description here" /></a></p>
  
Tags: <planning><pddl>
Title: Why the PDDL plan syntax is indicated to be wrong in Visual Studio Code?
UserDisplayName: Karl 17302
ThreadText: # Why the PDDL plan syntax is indicated to be wrong in Visual Studio Code?
  
  (Asked by: username_0 on 2024-06-20)
  
  I wrote a simple plan (switch-on, switch-off) which works in [plan editor](https://editor.planning.domains/). However, I write the same plan in VS-Code and it indicates I have Errors. I have tried many times to change indentation, etc, but nothing seems to work. For some reason, this is the only action which causes errors but other action is not flagged by the system. Here is a screenshot. [![enter image description here](https://i.sstatic.net/jaGT5ZFd.png)](https://i.sstatic.net/jaGT5ZFd.png)
  
  **Tags:** planning, pddl
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-06-20. Score: 0 | Accepted answer
  
  Maybe adding an empty parameters block would fix it?
  
  
  ---
  
  