--
Rasmus Andersson
What kind of jumped to mind when reading this is that it seems like something that changes depending on what language/framework you're using. Wouldn't plugins be the ideal solution here? If we look at the sidebar design proposed earlier, one that allows for different representations of different data, then a plugin could change how that looks and what's displayed there.
- Zach LeBar
> --
> You received this message because you are subscribed to the Google
> Groups "Kod.app" group. To unsubscribe from this group, send email to
> kod-app+u...@googlegroups.com (More info at http://groups.google.com/group/kod-app)
Writing "project description files" is not an option I'm afraid. Some
opt-in-to-use plugin might do it, but not by default. Many people (me
included) hate when programs mess with their file system w/o
explicitly being told to do so.
There are a lot of ways you can accomplish the first "milestone" w/o
having to write any files to a project's directory. For instance, you
could utilize xattrs to store tags e.g.
"se.hunch.kod.tags=project:project1,project:project2" or you could use
Spotlight metadata for storage. Or you could manage a shared database
in ~/Library/Caches/se.hunch.kod or ~/Library/Application Support/Kod.
Or you could let the state be somewhat transient and not persist
between session. Or you could do like Chrome and Firefox where the
current application state is archived and unarchived from disk (open a
bunch of web pages in Chrome, hit Cmd+Q, start Chrome and you'll have
everything back in place).
>
> What kind of jumped to mind when reading this is that it seems like something that changes depending on what language/framework you're using. Wouldn't plugins be the ideal solution here? If we look at the sidebar design proposed earlier, one that allows for different representations of different data, then a plugin could change how that looks and what's displayed there.
Yeah, maybe plugins/extensions would be a solution. But currently they
would need to be compiled Cocoa shared libraries and extensive work
would be needed in kod-core to allow plugins the full flexibility, I
think.
I'm opening this for discussion as there are a lot of ideas and no
real solid solution yet.
>
> - Zach LeBar
>
> On Jan 7, 2011, at 12:02 PM, Rasmus Andersson <ras...@notion.se> wrote:
>
>> See »A better user experience when working on "projects"« at
>> https://github.com/rsms/kod/wiki/Get-busy
>>
>> --
>> Rasmus Andersson
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Kod.app" group. To unsubscribe from this group, send email to
>> kod-app+u...@googlegroups.com (More info at http://groups.google.com/group/kod-app)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Kod.app" group. To unsubscribe from this group, send email to
> kod-app+u...@googlegroups.com (More info at http://groups.google.com/group/kod-app)
>
--
Rasmus Andersson
On Friday, January 7, 2011 at 4:49 PM, Alan Danziger wrote:
The big problem with Spotlight or even a users' cache/App Support, is these aren't shared to other computers - I do most of my development on 2-3 different systems.A solution to this problem might be to allow export/import of the configuration, within Kod. Then I can take my "perfectly configured" machine, export the config, bring it along with my source, and import that on the new machine... It's a manual process, which isn't ideal, but it's probably a one-time thing.
--
Writing "project description files" is not an option I'm afraid. Some
opt-in-to-use plugin might do it, but not by default. Many people (me
included) hate when programs mess with their file system w/o
explicitly being told to do so.There are a lot of ways you can accomplish the first "milestone" w/o
having to write any files to a project's directory. For instance, you
could utilize xattrs to store tags e.g.
"se.hunch.kod.tags=project:project1,project:project2" or you could use
Spotlight metadata for storage. Or you could manage a shared database
in ~/Library/Caches/se.hunch.kod or ~/Library/Application Support/Kod.
Or you could let the state be somewhat transient and not persist
between session. Or you could do like Chrome and Firefox where the
current application state is archived and unarchived from disk (open a
bunch of web pages in Chrome, hit Cmd+Q, start Chrome and you'll have
everything back in place).
Sounds good to me. Could be a two-step selection:
1. An opt-in action "Save project file as..."
2. A persistent boolean setting "Automatically create project files"
And then we store the project file in YAML (or JSON).
> in this respect, i like very much one aspect of how textmate does it. you
> can have an ad-hoc, filesystem-based "project" without any kind of
> persistent file by just opening up a folder in the sidebar (similar to the
> support for same that kod now has), and you can also choose to make it
> persistent in a file that you decide what to call and where it goes. i
> personally don't mind this when i choose where it goes.
> although we are in another thread now, i really like the idea that someone
> put forward about how to structure such a file and the kind of different
> objects that could be represented in it based on a URI scheme.
>