Swoffa / SublimeKickAssemblerC64

Sublime Package for C64 development with Kick Assembler.
47 stars 15 forks source link

Source option to compile other sourcefile rather than current #57

Closed BacchusFLT closed 3 years ago

BacchusFLT commented 4 years ago

In general, I feel the functionality has a bit of an over-investment in a hardcoded file called "startup.asm", with a plethora of keypresses locked up to support it. The whole idea - I guess - is to have a project masterfile that is easily accessible. Two thoughts in this context:

1) How about making the name of this "project mainfile" selectable? (I also assume it's not possible to make this selectable per project but only generally for the installation of the plugin - per project would be preferable if possible).

2) I keep compiling files that are parts of a project and get errors as it misses definitions in the master files. Would it be possible to add a "pseudo thing" in the "daughter files" referencing the "mother", so that pressing F7 would compile the mother? (Or can this already be achieved with the prebuild options or @kickass-build?)

Swoffa commented 4 years ago
  1. Glad you asked @BacchusFLT , since there is already a setting for this: kickass_startup_file_path. As all settings it can be set globally or per project, more info here: https://www.sublimetext.com/docs/3/projects.html The name of the setting is a bit confusing, and could certainly be more clear.
Swoffa commented 4 years ago
  1. This is something I have been considering, so now that you mention it I will give it some more priority. Thanks! :)
Swoffa commented 3 years ago

@BacchusFLT A feature for this has now been released: https://goatpower.org/2021/03/08/version-1-3-4-of-kick-assembler-package-for-sublime/