Skip to content

Conversation

@ljunkie
Copy link
Member

@ljunkie ljunkie commented Nov 26, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 26, 2025 00:34
@ljunkie ljunkie self-assigned this Nov 26, 2025
Copilot finished reviewing on behalf of ljunkie November 26, 2025 00:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR switches the project to use forked versions of dependencies (specifically brighterscript) to support custom fixes and features. The main changes include:

  • Adding a new formatting option insertSpaceBetweenFunctionAssignments to control spacing around assignment operators in function parameters
  • Improving indentation logic to handle complex nested structures like arrays in conditional statements and object literals after array access
  • Adding support for new token kinds (QuestionLeftParen, ReplacementIdentifier, AtStop)
  • Preserving formatting for return arrays on the same line
  • Special handling for standalone closing brackets
  • Adding a GitHub Actions workflow for automated shadow releases

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
package.json, package-lock.json Updated dependency to use forked brighterscript version from GitHub
src/formatters/MultiLineItemFormatter.ts Added isReturnArrayOnSameLine method to preserve return array formatting
src/formatters/InteriorWhitespaceFormatter.ts Implemented insertSpaceBetweenFunctionAssignments option and added special handling for new token kinds
src/formatters/InteriorWhitespaceFormatter.spec.ts Added comprehensive test coverage for the new function assignment formatting feature
src/formatters/IndentFormatter.ts Refactored indentation tracking to use IndentState interface and improved logic for suppressing structure indentation
src/formatters/IndentFormatter.spec.ts Added test cases for complex indentation scenarios including else-if blocks and nested structures
src/constants.ts Added new token kinds to various constant arrays for proper formatting support
src/FormattingOptions.ts Added insertSpaceBetweenFunctionAssignments option with default value of true
bsfmt.schema.json Updated JSON schema with new formatting option documentation
README.md Updated documentation to describe the new formatting option
.github/workflows/xelp_shadow_release.yml New workflow for automated shadow releases with custom versioning scheme

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 00:38
Copilot finished reviewing on behalf of ljunkie November 26, 2025 00:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 02:14
Copilot finished reviewing on behalf of ljunkie November 26, 2025 02:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ljunkie ljunkie force-pushed the rob/xelp-main branch 2 times, most recently from ace5d44 to 0bce280 Compare November 26, 2025 02:31
Copilot AI review requested due to automatic review settings November 26, 2025 02:31
Copilot finished reviewing on behalf of ljunkie November 26, 2025 02:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 12 out of 13 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 02:35
Copilot finished reviewing on behalf of ljunkie November 26, 2025 02:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 12 out of 13 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 02:42
Copilot finished reviewing on behalf of ljunkie November 26, 2025 02:45
Copilot finished reviewing on behalf of ljunkie November 26, 2025 04:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 13 out of 14 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 04:28
- Prevent `activeIndentorsOnThisLine` from becoming negative
- Allow block enders (e.g. `end if`, `}`) to trigger outdent even when followed by a colon.
- Fixes issue where constructs like `} : {` or `end if : if` caused incorrect double indentation.
Copilot finished reviewing on behalf of ljunkie November 26, 2025 04:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 26, 2025 04:48
Copilot finished reviewing on behalf of ljunkie November 26, 2025 04:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 13 out of 19 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

IndentFormatter: continue in loops, double un-indent, EOF after outdent,
next followed by colon, #end if followed by colon, end interface/end
enum.

InteriorWhitespaceFormatter: ReplacementIdentifier, anonymous functions,
parameter assignment spacing, sub edge cases (EOF, invalid tokens).
Copilot AI review requested due to automatic review settings November 27, 2025 00:52
Copilot finished reviewing on behalf of ljunkie November 27, 2025 00:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 20 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 27, 2025 01:11
Copilot finished reviewing on behalf of ljunkie November 27, 2025 01:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 14 out of 20 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ljunkie ljunkie merged commit 7c29b02 into plexinc:xelp/main Nov 27, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant