Open iamrecursion opened 7 years ago
@iamrecursion: Go for it. Status bar "stuff" is in sublime_haskell_common.py
.
Thanks for the pointer. I'll pick it up when I have time in a couple of weeks.
Finally getting to a stage where I can take a proper look at this! I've not done much ST plugin development before now, despite a familiarity with Python, so I was wondering if you had a recommended development setup. My instinct says to develop the plugin attached to a portable ST version so as to sandbox the development and testing sublime installs, but any pointers would be appreciated.
Basically, that's what I do -- I use the portable version for development and testing. I also have SublimeLinter and SublimeLinter-Python installed to avoid various and sundry Python errors.
Sounds good. I was definitely going to install pep8
or pylint
to that end. Which linter have you got SublimeHaskell
conforming to?
pylint.
Noted, thanks.
The Sublime status bar has both left and right components. When using restricted-width windows, however, SublimeHaskell status messages can often push the right-hand-side components off the status bar entirely. This would prevent the user from having access to their tab settings from that location, for example.
The usual cause for this issue is the fact that long path names are displayed in the status bar in a non-truncated form. My suggestion is to truncate as far as the single file name (
module.hs
) where necessary, where 'necessary' is defined as having enough status bar space for the given window size.Clearly this can't account for all possible window sizes, but it would be nice if it accounted for any reasonable window size, much as
vim-airline
and related projects do in vim.I'm happy to work on this once my schedule clears up a bit to take some work off your plate. Thoughts appreciated.