| Safe Haskell | None |
|---|
FP.API
- themeToString :: Theme -> String
- themeName :: Theme -> String
- themeDescription :: Theme -> String
- enumerateThemes :: [Theme]
- defaultTheme :: Theme
- defaultFontSize :: Int
- defaultSearchStyle :: Bool
- defaultLicense :: IdeLicense
- invalidSettingsError :: Text
- serverSessionNotReadyError :: Text
- projectSettingsPath :: Text
- validGitBranch :: String -> Bool
- data Action
- describeAction :: Action -> Text
- canDo :: IdeLicense -> Action -> Bool
- licenseName :: IdeLicense -> Text
- module FP.API.Types
Documentation
themeToString :: Theme -> StringSource
Convert a theme to a string.
themeDescription :: Theme -> StringSource
Get a human-readable description of a string.
enumerateThemes :: [Theme]Source
Similar to [minBound..maxBound], with our own custom ordering.
The default theme to use when there is no existing theme.
The default font size to use.
defaultLicense :: IdeLicenseSource
Default license to use upon initialization.
invalidSettingsError :: TextSource
Error that can be returned by some commands, which indicates that the command requires that the settings file be valid.
serverSessionNotReadyError :: TextSource
Error that can be returned by GetProjectMessages, which
indicates that the backend server hasn't started yet. In order to
cause the server to run, some normal command needs to be executed
(not a project messages poll, though).
projectSettingsPath :: TextSource
The filepath used for the settings file.
validGitBranch :: String -> BoolSource
Determine whether a git branch name is valid.
TODO: This could be better. See, e.g. the regexes here: http:stackoverflow.coma12093994/1164871
Action that roles can perform.
describeAction :: Action -> TextSource
Give a human readable description for actions that could be used in a sentence.
canDo :: IdeLicense -> Action -> BoolSource
Can the given role do the given action?
licenseName :: IdeLicense -> TextSource
Get the name of the license, for use in code IDs and such.
module FP.API.Types