coala-html icon indicating copy to clipboard operation
coala-html copied to clipboard

Add config tab

Open AbdealiLoKo opened this issue 8 years ago • 4 comments

There can be a tab for LogMessages (for https://github.com/coala-analyzer/coala-html/issues/15) And another tab for "settings" which has the coafile

AbdealiLoKo avatar Feb 27 '16 02:02 AbdealiLoKo

@sils1297 do we want something like this or is that too complicated for what you were thinking ? Is this within the scope of coala-html or does it go into gitmate somewhere ?

AbdealiLoKo avatar Feb 27 '16 02:02 AbdealiLoKo

Settings should be read-only IMO On 27 Feb 2016 03:46, "AbdealiJK" [email protected] wrote:

@sils1297 https://github.com/sils1297 do we want something like this or is that too complicated for what you were thinking ?

— Reply to this email directly or view it on GitHub https://github.com/coala-analyzer/coala-html/issues/21#issuecomment-189561681 .

sils avatar Feb 27 '16 08:02 sils

To get the settings we'd need coala-json to give the config file. As we have no clue where it can be. We could assume .coafile in the proj dir - but that's not always right because of the -c flag.

We could also just check if .coafile exists. if not just give a message saying config file not found.

AbdealiLoKo avatar Feb 28 '16 05:02 AbdealiLoKo

we could give coala-json a way to dump the settings as json too somewhere optionally, would be easy for us and way easier for you, you don't wanna parse the coafile without our parsers...

sils avatar Feb 28 '16 17:02 sils