Skip to content

The type *Rules is already defined in *.rules (org.eclipse.xtext.xbase.validation.IssueCodes.duplicate_type) #294

@SHU-red

Description

@SHU-red

Expected Behavior

No error should occur if i open up my homeserver via ssh and open a .rule file

Current Behavior

As i open up any .rule file, the whole rule file is marked as error with the error-text
The type GooglehomeRules is already defined in googlehome.rules.(org.eclipse.xtext.xbase.validation.IssueCodes.duplicate_type)

Screenshot_20220530_145135

Possible Solution

  • It seems that if i open only the folder openhab_conf in VSCode the error is gone
  • But i want to see more of my whole dockerized folders, thats why i always open up my docker_volumes folder
    (openhab_conf is placed at: */docker_volumes/openhab_conf)

Steps to Reproduce (for Bugs)

  1. Open VSCode (my docker_volumes folder is opened as standard and one level higher than openhab_conf)
  2. Open a Random .rule file
  3. The whole .rule-file is marked as error

Context

This issue seemed to already have been discussed but not resolved
eclipse-archived/smarthome#4799

Your Environment

  • Version used: VS-Code Extension version openHAB v1.0.0
  • Environment name and version VS-Code 1.67.0-insider
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Jessie, ...): Manjaro Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions