Skip to content

Fix hardcoded package name and template configuration issues#63

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/improve-functionality-in-template
Draft

Fix hardcoded package name and template configuration issues#63
Copilot wants to merge 4 commits intomainfrom
copilot/improve-functionality-in-template

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 17, 2026

The template had a hardcoded package name preventing correct project generation with custom packages, plus outdated tooling configuration.

Changes

  • Server.scala: Replace hardcoded package com.nachinius.g8test with template variable $package$
  • Main.scala: Remove unused BlazeServerBuilder import
  • .scalafmt: Rename to .scalafmt.conf for modern scalafmt compatibility
  • README.md: Fix repository name typo and remove pinned Scala patch version

Impact

Before: Generated projects would have incorrect package names, ignoring user input.

// Generated Server.scala (broken)
package com.nachinius.g8test  // Always this, regardless of user's --organization flag

After: Template variables work as intended.

// Generated Server.scala (fixed)
package $package$  // Expands to user's specified organization and name
Original prompt

Improve functionaly in the template


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits January 17, 2026 21:13
Co-authored-by: nachinius <222807+nachinius@users.noreply.github.com>
Co-authored-by: nachinius <222807+nachinius@users.noreply.github.com>
Co-authored-by: nachinius <222807+nachinius@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve functionality in the template Fix hardcoded package name and template configuration issues Jan 17, 2026
Copilot AI requested a review from nachinius January 17, 2026 21:15
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.

2 participants