Skip to content

Add support for DataFlex language#7479

Open
sonnyfalk wants to merge 4 commits intogithub-linguist:mainfrom
sonnyfalk:sonnyfalk/dataflex-support-7171
Open

Add support for DataFlex language#7479
sonnyfalk wants to merge 4 commits intogithub-linguist:mainfrom
sonnyfalk:sonnyfalk/dataflex-support-7171

Conversation

@sonnyfalk
Copy link

@sonnyfalk sonnyfalk commented Jul 3, 2025

This adds DataFlex language support for .pkg file extension with strict heuristics requiring both a Use statement and a class or function/procedure definition. This will resolve issue #7171.

The main DataFlex language website is https://www.dataflex.dev.

Description

As discussed in issue #7171, the most common DataFlex source file extension is .pkg. Since it's a pretty generic extension, this adds it to generic.yml with some strict rules in heuristics.yml and corresponding tests.

Checklist:

sonnyfalk added 2 commits July 3, 2025 00:54
This adds DataFlex language support for `.pkg` file extension with
strict heuristics requiring both a Use statement and a class
or function/procedure.
@sonnyfalk sonnyfalk requested a review from a team as a code owner July 3, 2025 03:44
Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comments.

samples/DataFlex/FileType.pkg is also too big; if the diff suppresses it, it’s too big for our needs. Please replace it.

@sonnyfalk sonnyfalk requested a review from lildude July 3, 2025 17:21
@sonnyfalk
Copy link
Author

I've made all the changes to address the comments. Please let me know if there's something else that I need to do for this to get merged.

@lildude lildude changed the title Add support for DataFlex language - issue #7171 Add support for DataFlex language Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants