Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E Eclipse eTrice
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse Projects
  • Eclipse eTrice™
  • Eclipse eTrice
  • Issues
  • #27

Closed
Open
Created Oct 27, 2021 by Christian Hilden@childen45hDeveloper

[Bug 576916] For dataclasses passed in messages the C action code content assist proposes dot access operator instead of arrow operator

Bugzilla Link 576916
Status NEW
Importance P3 normal
Reported Oct 27, 2021 07:39 EDT
Modified Oct 27, 2021 07:39 EDT

Description

If a message with DataClass as payload triggers a transition then a pointer to the dataclass will be passed as transitionData.

The c content assist does however suggest to use the dot (.) operator to access the DataClasses attributes. This leads to uncompilable code.

If the user uses the arrow (->) operator the content assist does not suggest the attributes.

Idealy we would have the same behavor the CDT offers:
If you try to access a struct memeber from a pounter using the dot (.) operator the cdt will replace it with the arrow (->) operator before displaying suggestions.

Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent