MCPcopy Create free account

hub / github.com/PlasmaFAIR/fortitude / functions

Functions1,280 in github.com/PlasmaFAIR/fortitude

↓ 1 callersMethodset_parent
(&mut self, parent: TextSize)
crates/fortitude_linter/src/diagnostics/mod.rs:199
↓ 1 callersMethodset_shutdown_requested
(&mut self, requested: bool)
crates/fortitude_server/src/session.rs:87
↓ 1 callersFunctionset_up_logging
(level: LogLevel)
crates/fortitude_linter/src/logging.rs:117
↓ 1 callersMethodsettings_for_path
(&self, path: &Path)
crates/fortitude_server/src/session/index.rs:325
↓ 1 callersMethodsettings_for_path_mut
(&mut self, path: &Path)
crates/fortitude_server/src/session/index.rs:348
↓ 1 callersMethodsettings_for_url_mut
(&mut self, url: &Url)
crates/fortitude_server/src/session/index.rs:332
↓ 1 callersFunctionseverity
Map from rule code to LSP severity
crates/fortitude_server/src/lint.rs:190
↓ 1 callersMethodshould_fix
(&self, rule: Rule)
crates/fortitude_linter/src/rule_table.rs:50
↓ 1 callersFunctionshow_files
( files: &[PathBuf], filter: &Option<FilterMap>, fortitude_config: &ConfigFile, config_argumen
crates/fortitude/src/show_files.rs:11
↓ 1 callersFunctionshow_fix_status
Return `true` if the [`Printer`] should indicate that a rule is fixable.
crates/fortitude/src/printer.rs:481
↓ 1 callersFunctionshow_settings
( files: &[PathBuf], filter: &Option<FilterMap>, fortitude_config: &ConfigFile, config_argumen
crates/fortitude/src/show_settings.rs:11
↓ 1 callersMethodshow_warning_message
Sends a request to display a warning to the client with a formatted message. The warning is sent in a `window/showMessage` notification. Logs an erro
crates/fortitude_server/src/session/client.rs:205
↓ 1 callersFunctionsnake_case
Convert from PascalCase to snake_case.
scripts/_utils.py:20
↓ 1 callersMethodspawn
(&self, priority: ThreadPriority, f: F)
crates/fortitude_server/src/server/schedule/thread/pool.rs:91
↓ 1 callersFunctionspawn_main_loop
The event loop thread is actually a secondary thread that we spawn from the _actual_ main thread. This secondary thread has a larger stack size than s
crates/fortitude_server/src/server/schedule.rs:19
↓ 1 callersFunctionstart_end_names
Map node kinds onto the keywords for start/end names of the block
crates/fortitude_linter/src/rules/correctness/exit_labels.rs:207
↓ 1 callersMethodstart_row
(&self)
crates/fortitude_linter/src/ast.rs:459
↓ 1 callersFunctionstat_check_status
(node: &Node, stat_name: &str, src: &str)
crates/fortitude_linter/src/rules/correctness/error_handling.rs:253
↓ 1 callersFunctionstrip_line_breaks
Strip line breaks from a string of Fortran code.
crates/fortitude_linter/src/ast.rs:402
↓ 1 callersFunctionsubcommand_help_text
Returns the output of a given subcommand (e.g., `fortitude help check`).
crates/fortitude_dev/src/generate_cli_help.rs:107
↓ 1 callersMethodsubtract
(mut self, other: &Self)
crates/fortitude_linter/src/registry/rule_set.rs:117
↓ 1 callersFunctionsupported_code_actions
If `action_filter` is `None`, this returns [`SupportedCodeActionKind::all()`]. Otherwise, the list is filtered.
crates/fortitude_server/src/server/api/requests/code_action.rs:124
↓ 1 callersFunctiontags
Map from rule code to LSP "unnecessary" or "deprecated"
crates/fortitude_server/src/lint.rs:201
↓ 1 callersFunctiontest_contents
(path: &Path, file: &SourceFile, settings: &CheckSettings)
crates/fortitude_linter/src/test.rs:36
↓ 1 callersFunctiontest_resource_path
(path: impl AsRef<Path>)
crates/fortitude_workspace/src/lib.rs:10
↓ 1 callersFunctiontest_resource_path
(path: impl AsRef<Path>)
crates/fortitude_linter/src/test.rs:23
↓ 1 callersMethodtext_document_urls
(&self)
crates/fortitude_server/src/session/index.rs:76
↓ 1 callersMethodtextrange
(&self)
crates/fortitude_linter/src/ast.rs:473
↓ 1 callersFunctiontitlecase
Converts a string to title case. Every word (sequence of alphanumeric characters) has its first letter uppercased. Non-alphanumeric characters act as
crates/fortitude_linter/src/stylist.rs:266
↓ 1 callersMethodto_fortitude_url
Returns the URL for the rule documentation
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:105
↓ 1 callersMethodto_kind
Returns the LSP code action kind that map to this code action.
crates/fortitude_server/src/server.rs:217
↓ 1 callersFunctionto_lsp_diagnostic
Generates an LSP diagnostic
crates/fortitude_server/src/lint.rs:122
↓ 1 callersMethodto_text_range
( &self, text: &str, index: &LineIndex, encoding: PositionEncoding, )
crates/fortitude_server/src/edit/range.rs:22
↓ 1 callersMethodtransform
(&self, config: Configuration)
crates/fortitude_workspace/src/resolver.rs:824
↓ 1 callersMethodupdate_text_document
( &mut self, key: &DocumentKey, content_changes: Vec<lsp_types::TextDocumentContentCha
crates/fortitude_server/src/session/index.rs:83
↓ 1 callersMethodupdate_version
(&mut self, new_version: DocumentVersion)
crates/fortitude_server/src/edit/text_document.rs:129
↓ 1 callersMethodurl
Returns the root URL of the workspace.
crates/fortitude_server/src/workspace.rs:112
↓ 1 callersFunctionversion
Returns information about Fortitude's version.
crates/fortitude/src/version.rs:70
↓ 1 callersFunctionversion
()
crates/fortitude_server/src/lib.rs:36
↓ 1 callersFunctionversion_command
Display version information
crates/fortitude/src/version.rs:16
↓ 1 callersFunctionviolation_metadata
(input: DeriveInput)
crates/fortitude_macros/src/violation_metadata.rs:9
↓ 1 callersMethodvisit
(&mut self, result: std::result::Result<DirEntry, Error>)
crates/fortitude_workspace/src/resolver.rs:431
↓ 1 callersMethodwith_language_id
(mut self, language_id: &str)
crates/fortitude_server/src/edit/text_document.rs:54
↓ 1 callersMethodwith_options
(mut self, options: ClientOptions)
crates/fortitude_server/src/workspace.rs:106
↓ 1 callersMethodwith_preview
(mut self, preview: bool)
crates/fortitude_server/src/session/options.rs:234
↓ 1 callersMethodwith_unsafe_fixes
(mut self, unsafe_fixes: UnsafeFixes)
crates/fortitude_linter/src/diagnostics/message/grouped.rs:43
↓ 1 callersMethodwrite_once
(&self, results: &CheckResults, writer: &mut dyn Write)
crates/fortitude/src/printer.rs:271
↓ 1 callersMethodwrite_statistics
( &self, diagnostics: &CheckResults, writer: &mut dyn Write, )
crates/fortitude/src/printer.rs:362
Methodadd_assign
(&mut self, other: Self)
crates/fortitude_linter/src/diagnostics/mod.rs:56
Functionadd_attr
()
crates/fortitude_linter/src/fix/edits.rs:257
Methodancestor_matches
( &self, path: P, project_root: R, )
crates/fortitude_linter/src/fs.rs:207
Methodany_applicable_fixes
(&self)
crates/fortitude/src/printer.rs:566
Functionapply_all_fixes
()
crates/fortitude/tests/check.rs:758
Functionapply_fixable_fixes
()
crates/fortitude/tests/check.rs:805
Functionapply_fixes
()
crates/fortitude/tests/check.rs:616
Functionapply_fixes_with_allow_comment
()
crates/fortitude/tests/check.rs:2089
Functionapply_one_insertion
()
crates/fortitude_linter/src/fix/mod.rs:185
Functionapply_one_removal
()
crates/fortitude_linter/src/fix/mod.rs:261
Functionapply_one_replacement
()
crates/fortitude_linter/src/fix/mod.rs:224
Methodapply_to
(&self, input: &str)
crates/fortitude_linter/src/diagnostics/message/diff.rs:133
Functionapply_two_removals
()
crates/fortitude_linter/src/fix/mod.rs:294
Functionapply_unsafe_fixes
()
crates/fortitude/tests/check.rs:693
Functionattribute_intent
()
crates/fortitude_linter/src/ast/symbol_table.rs:308
Methodbackground
Creates a new background task.
crates/fortitude_server/src/server/schedule/task.rs:58
Functionbackground_notification_thread
( req: server::Notification, schedule: BackgroundSchedule, )
crates/fortitude_server/src/server/api.rs:236
Functionbackground_request_task
( req: server::Request, schedule: BackgroundSchedule, )
crates/fortitude_server/src/server/api.rs:147
Functionbad_quote_string_single_quotes
(rule_code: Rule, path: &Path)
crates/fortitude_linter/src/rules/style/mod.rs:141
Methodbase_settings
(&self)
crates/fortitude_workspace/src/resolver.rs:132
Methodbetween
Creates a [`Replacement`] that describes the `source_range` of `source` to replace with `modified` sliced by `modified_range`.
crates/fortitude_server/src/edit/replacement.rs:12
Methodbom_start_offset
(&self)
crates/fortitude_linter/src/locator.rs:273
Methodbuild
Generate a [`Command`] for the `fortitude check` command.
crates/fortitude/tests/check.rs:56
Functionc061_fortran95
()
crates/fortitude_linter/src/rules/correctness/mod.rs:131
Functionc121_allow_bare_use
()
crates/fortitude_linter/src/rules/correctness/mod.rs:144
Functionc151_fix_multiple_inline_if
()
crates/fortitude_linter/src/rules/correctness/mod.rs:186
Methodcancel
Cancels the pending request with the given id. Returns the method name if the request was still pending, `None` if it was already completed.
crates/fortitude_server/src/session/request_queue.rs:69
Functioncapitalisation
()
crates/fortitude_linter/src/stylist.rs:459
Functioncast_notification
Tries to cast a serialized request from the server into a parameter type for a specific request handler.
crates/fortitude_server/src/server/api.rs:342
Functioncast_request
Tries to cast a serialized request from the server into a parameter type for a specific request handler. It is *highly* recommended to not override th
crates/fortitude_server/src/server/api.rs:289
Functioncategory_parse_code
()
crates/fortitude_linter/src/registry.rs:185
Methodceil_char_boundary
Finds the closest [`TextSize`] not less than the offset given for which `is_char_boundary` is `true`. Unless the offset given is greater than the leng
crates/fortitude_linter/src/locator.rs:196
Methodcheck
( root: &Node, settings: &CheckSettings, source_file: &SourceFile, )
crates/fortitude_linter/src/rules/style/line_length.rs:80
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/style/literals.rs:49
Methodcheck
( settings: &CheckSettings, node: &'a Node, _src: &'a SourceFile, _symbol_tabl
crates/fortitude_linter/src/rules/style/complexity.rs:111
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/style/semicolons.rs:79
Methodcheck
( _settings: &CheckSettings, node: &'a Node, src: &'a SourceFile, _symbol_tabl
crates/fortitude_linter/src/rules/style/useless_return.rs:66
Methodcheck
( _settings: &CheckSettings, node: &'a Node, src: &'a SourceFile, _symbol_tabl
crates/fortitude_linter/src/rules/style/end_statements.rs:73
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/style/double_colon_in_decl.rs:32
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/style/use_statement.rs:53
Methodcheck
( settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sym
crates/fortitude_linter/src/rules/style/keywords.rs:120
Methodcheck
( _settings: &CheckSettings, node: &'a Node, _src: &'a SourceFile, _symbol_tab
crates/fortitude_linter/src/rules/style/functions.rs:85
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/style/implicit_none.rs:36
Methodcheck
( _settings: &CheckSettings, node: &Node, _src: &SourceFile, _symbol_table: &S
crates/fortitude_linter/src/rules/style/file_contents.rs:28
Methodcheck
( settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sym
crates/fortitude_linter/src/rules/style/strings.rs:67
Methodcheck
(path: &Path)
crates/fortitude_linter/src/rules/style/file_extensions.rs:28
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/correctness/kind_suffixes.rs:75
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/correctness/implicit_kinds.rs:58
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/correctness/trailing_backslash.rs:57
Methodcheck
( _settings: &CheckSettings, node: &Node, src: &SourceFile, _symbol_table: &Sy
crates/fortitude_linter/src/rules/correctness/accessibility_statements.rs:42
Methodcheck
( _settings: &CheckSettings, node: &'a Node, src: &'a SourceFile, _symbol_tabl
crates/fortitude_linter/src/rules/correctness/nonportable_shortcircuit_inquiry.rs:125
Methodcheck
(src: &SourceFile)
crates/fortitude_linter/src/rules/correctness/split_escaped_quote.rs:53
← previousnext →501–600 of 1,280, ranked by callers