Proposal: Nicer way to enter tabular static data.


(Amir Michail) #1

Perhaps this can be done with entry and display annotations for the editor/IDE.

For example:

let table:[[Int?]] /{ tabular, 10x10, centered, etc. } = ...

In an editor/IDE that understands these annoations, you would get a WYSIWYG table for entry and display of the tabular static data.


(Kevin Lundberg) #2

Could something like this just be implemented with a comment that
individual IDEs understand?

let table:[[Int?]] /* format:tablular,centered */ = ...

I don't know how valuable it would be to bake in specific syntax that is
only meant for an editor to consume.

ยทยทยท

On 1/22/2016 4:02 PM, Amir Michail via swift-evolution wrote:

Perhaps this can be done with entry and display annotations for the editor/IDE.

For example:

let table:[[Int?]] /{ tabular, 10x10, centered, etc. } = ...

In an editor/IDE that understands these annoations, you would get a WYSIWYG table for entry and display of the tabular static data.

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution