Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PlasmaFAIR/fortitude
/ functions
Functions
1,280 in github.com/PlasmaFAIR/fortitude
⨍
Functions
1,280
◇
Types & classes
430
↓ 6 callers
Method
make_key
Retrieve the original key that describes this document query.
crates/fortitude_server/src/session/index.rs:499
↓ 6 callers
Method
name
Variable name
crates/fortitude_linter/src/ast/types.rs:60
↓ 6 callers
Method
named_descendants
(&self)
crates/fortitude_linter/src/ast.rs:181
↓ 6 callers
Method
prev_non_comment_sibling
(&self)
crates/fortitude_linter/src/ast.rs:325
↓ 6 callers
Function
remove_variable_decl
Return the [`Edit`] to delete the declaration of a variable Removes the given variable name from a variable declaration statement, taking care of: -
crates/fortitude_linter/src/fix/edits.rs:23
↓ 6 callers
Method
size
Get size node, if there is one
crates/fortitude_linter/src/ast/types.rs:65
↓ 6 callers
Function
u32_index_to_usize
(index: u32)
crates/fortitude_server/src/edit/range.rs:17
↓ 5 callers
Function
check_only_file
Parse a file, check it for issues, and return the report.
crates/fortitude_linter/src/lib.rs:139
↓ 5 callers
Method
cmp
(&self, other: &Self)
crates/fortitude_workspace/src/resolver.rs:614
↓ 5 callers
Method
encoding
(&self)
crates/fortitude_server/src/session.rs:164
↓ 5 callers
Function
end_of_replacement
Find where we need to replace upto, and what whitespace is needed
crates/fortitude_linter/src/rules/obsolescent/arithmetic_if.rs:337
↓ 5 callers
Method
filename
Returns the filename for the message.
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:80
↓ 5 callers
Method
index
(&self)
crates/fortitude_server/src/edit/text_document.rs:67
↓ 5 callers
Method
is_exact
Returns true if this selector is exact i.e. selects a single rule by code
crates/fortitude_linter/src/rule_selector.rs:253
↓ 5 callers
Method
kwarg
(&self, keyword: S, src: &str)
crates/fortitude_linter/src/ast.rs:212
↓ 5 callers
Method
next_non_comment_sibling
(&self)
crates/fortitude_linter/src/ast.rs:296
↓ 5 callers
Function
to_rule_table
Get the list of active rules for this session.
crates/fortitude_workspace/src/configuration.rs:519
↓ 5 callers
Method
version
Get the version of document selected by this query.
crates/fortitude_server/src/session/index.rs:506
↓ 5 callers
Method
with_show_fix_status
(mut self, show_fix_status: bool)
crates/fortitude_linter/src/diagnostics/message/text.rs:43
↓ 5 callers
Method
with_show_source
(mut self, show_source: bool)
crates/fortitude_linter/src/diagnostics/message/text.rs:56
↓ 4 callers
Method
add
Add a resolved [`Settings`] under a given [`PathBuf`] scope.
crates/fortitude_workspace/src/resolver.rs:158
↓ 4 callers
Function
add_attribute_to_var_decl
(decl: &VariableDeclaration, attribute: &str)
crates/fortitude_linter/src/fix/edits.rs:74
↓ 4 callers
Method
args
(mut self, args: impl IntoIterator<Item = &'a str>)
crates/fortitude/tests/check.rs:50
↓ 4 callers
Method
clear
(&mut self)
crates/fortitude_linter/src/registry/rule_set.rs:31
↓ 4 callers
Method
cmp
(&self, other: &Self)
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:115
↓ 4 callers
Method
compute_end_location
(&self)
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:93
↓ 4 callers
Method
contents
(&self)
crates/fortitude_server/src/edit/text_document.rs:63
↓ 4 callers
Function
convert_file_and_extensions_to_include
Convert the deprecated `files` and `file_extensions` settings to the new `include`
crates/fortitude_workspace/src/configuration.rs:187
↓ 4 callers
Function
find_settings_toml
Find the path to the `fpm/fortitude/pyproject.toml` file, if such a file exists. Adapted from ruff
crates/fortitude_workspace/src/configuration.rs:111
↓ 4 callers
Function
fortran_files_in_path
Find all Fortran (`.f90`, `.F90` files, and so on) in a set of paths.
crates/fortitude_workspace/src/resolver.rs:293
↓ 4 callers
Function
fully_normalize_path_to
Convert any path to an absolute path (based on the specified project root) and resolve symlinks
crates/fortitude_linter/src/fs.rs:268
↓ 4 callers
Function
get_name_node_of_declarator
Returns the tree-sitter node corresponding to the actual name of a declarator node, and not, say, the initialiser
crates/fortitude_linter/src/ast/types.rs:404
↓ 4 callers
Method
inline_if_statement
(&self)
crates/fortitude_linter/src/ast.rs:321
↓ 4 callers
Method
len
(&self)
crates/fortitude_server/src/server/schedule/thread/pool.rs:110
↓ 4 callers
Method
module_name
(&self, src: &str)
crates/fortitude_linter/src/ast.rs:367
↓ 4 callers
Method
name
(self, name: String)
crates/fortitude_server/src/server/schedule/thread.rs:48
↓ 4 callers
Method
next_statement_label_sibling
( &self, label: S, src: &str, )
crates/fortitude_linter/src/ast.rs:336
↓ 4 callers
Method
offset
Returns the number of characters that the first keyword is comprised of.
crates/fortitude_linter/src/rules/style/keywords.rs:53
↓ 4 callers
Method
push_table
(&mut self, table: SymbolTable<'a>)
crates/fortitude_linter/src/ast/symbol_table.rs:101
↓ 4 callers
Function
remove_from_attribute_stmt
(var: &Node, stmt: &Node, src: &SourceFile)
crates/fortitude_linter/src/rules/modernisation/out_of_line_attribute.rs:81
↓ 4 callers
Function
remove_from_parameter_stmt
(var: &Node, stmt: &Node, src: &SourceFile)
crates/fortitude_linter/src/rules/modernisation/out_of_line_attribute.rs:72
↓ 4 callers
Method
request_queue_mut
(&mut self)
crates/fortitude_server/src/session.rs:79
↓ 4 callers
Method
required_applicability
(&self)
crates/fortitude_linter/src/settings.rs:299
↓ 4 callers
Function
resolve_scoped_settings
Extract the project root (scope) and [`Settings`] from a given `fortitude.toml`.
crates/fortitude_workspace/src/resolver.rs:268
↓ 4 callers
Method
set
(&mut self, rule: Rule, enabled: bool)
crates/fortitude_linter/src/registry/rule_set.rs:217
↓ 4 callers
Method
specificity
(&self)
crates/fortitude_linter/src/rule_selector.rs:283
↓ 4 callers
Method
to_capitalisation
(&self, capitalisation: Capitalisation)
crates/fortitude_linter/src/stylist.rs:252
↓ 4 callers
Method
type_
(&self)
crates/fortitude_linter/src/ast/types.rs:373
↓ 4 callers
Method
url_for_key
(&'a self, key: &'a DocumentKey)
crates/fortitude_server/src/session/index.rs:304
↓ 4 callers
Method
with_unsafe_fixes
(mut self, unsafe_fixes: UnsafeFixes)
crates/fortitude_linter/src/diagnostics/message/text.rs:62
↓ 4 callers
Method
write_summary_text
(&self, writer: &mut dyn Write, results: &CheckResults)
crates/fortitude/src/printer.rs:120
↓ 3 callers
Method
add
(mut self, other: Self)
crates/fortitude_linter/src/diagnostics/mod.rs:49
↓ 3 callers
Function
add_new_end_do
(node: &Node, keep_label: bool, label: &str, source: &SourceFile)
crates/fortitude_linter/src/rules/obsolescent/non_block_do.rs:573
↓ 3 callers
Method
any_enabled
(&self, rules: &[Rule])
crates/fortitude_linter/src/rule_table.rs:44
↓ 3 callers
Method
build
(&mut self)
crates/fortitude_workspace/src/resolver.rs:420
↓ 3 callers
Function
calculate_print_width
Calculate the length of the string representation of `value`
crates/fortitude_linter/src/diagnostics/message/diff.rs:196
↓ 3 callers
Method
capitalisation
(&self)
crates/fortitude_linter/src/stylist.rs:21
↓ 3 callers
Function
check_and_fix_file
( path: &Path, file: &'a SourceFile, settings: &CheckSettings, ignore_allow_comments: settings
crates/fortitude_linter/src/lib.rs:391
↓ 3 callers
Method
client
(&self)
crates/fortitude_server/src/session/options.rs:62
↓ 3 callers
Function
default
()
crates/fortitude_linter/src/diagnostics/message/grouped.rs:190
↓ 3 callers
Method
editor_settings
(&self)
crates/fortitude_server/src/session/settings.rs:133
↓ 3 callers
Function
extract_use_statement_data
(node: &Node, src: &SourceFile)
crates/fortitude_linter/src/rules/style/use_statement.rs:184
↓ 3 callers
Function
fix_inconsistent_dimension
( var: &NameDecl, decl: &VariableDeclaration, src: &SourceFile, prefer_attribute: PreferAttrib
crates/fortitude_linter/src/rules/style/inconsistent_dimension.rs:98
↓ 3 callers
Function
format_header
Format the TOML header for the example usage for a given option. For example: `[extra.fortitude.check]` in `fpm.toml` or `[check]` in `fortitude.toml
crates/fortitude_dev/src/generate_options.rs:215
↓ 3 callers
Function
format_tab
(tab_name: &str, header: &str, content: &str)
crates/fortitude_dev/src/generate_options.rs:202
↓ 3 callers
Function
fortitude_cmd
()
crates/fortitude/tests/check.rs:8
↓ 3 callers
Method
has_attribute
(&self, attr: AttributeKind)
crates/fortitude_linter/src/ast/types.rs:385
↓ 3 callers
Method
incoming_mut
(&mut self)
crates/fortitude_server/src/session/request_queue.rs:38
↓ 3 callers
Method
into_inner
(self)
crates/fortitude_linter/src/fs.rs:54
↓ 3 callers
Method
into_owned
(self)
crates/fortitude_linter/src/stylist.rs:41
↓ 3 callers
Method
into_path
(self)
crates/fortitude_workspace/src/resolver.rs:583
↓ 3 callers
Method
into_settings
(self)
crates/fortitude_workspace/src/options.rs:444
↓ 3 callers
Method
into_workspace_edit
(self)
crates/fortitude_server/src/edit.rs:160
↓ 3 callers
Method
is_default
Returns true if this is the default workspace.
crates/fortitude_server/src/workspace.rs:122
↓ 3 callers
Method
is_dry_run
(self)
crates/fortitude_dev/src/generate_all.rs:29
↓ 3 callers
Method
is_hierarchical
(&self)
crates/fortitude_workspace/src/resolver.rs:138
↓ 3 callers
Function
is_single_rule_selector
Returns `true` if the [`RuleCodePrefix`] matches a single rule exactly (e.g., `E225`, as opposed to `E2`).
crates/fortitude_linter/src/rule_selector.rs:125
↓ 3 callers
Method
line_ending
(&self)
crates/fortitude_linter/src/stylist.rs:33
↓ 3 callers
Function
measure
Returns the width of a given string, accounting for the tab size. TODO: actually take into account tab width
crates/fortitude_linter/src/rules/style/line_length.rs:184
↓ 3 callers
Method
metadata
(&self)
crates/fortitude_dev/src/generate_options.rs:132
↓ 3 callers
Method
modify_with_manual_index
A private function for overriding how we update the line index by default.
crates/fortitude_server/src/edit/text_document.rs:144
↓ 3 callers
Method
name
(&self)
crates/fortitude_dev/src/generate_options.rs:125
↓ 3 callers
Method
name
Returns the name used to represent the diagnostic.
crates/fortitude_linter/src/diagnostics/diagnostic_message.rs:44
↓ 3 callers
Method
next
(&mut self)
crates/fortitude_linter/src/rule_selector.rs:266
↓ 3 callers
Method
next_non_comment_statement
(&self)
crates/fortitude_linter/src/ast.rs:307
↓ 3 callers
Method
partition
Partition the CLI into command-line arguments and configuration overrides.
crates/fortitude/src/cli.rs:499
↓ 3 callers
Method
path
(&self)
crates/fortitude_server/src/session/index/fortitude_settings.rs:32
↓ 3 callers
Method
prev_attached_comment_block
(&self, src: &str)
crates/fortitude_linter/src/ast.rs:376
↓ 3 callers
Function
print_fix_summary
(writer: &mut dyn Write, fixed: &FixMap)
crates/fortitude/src/printer.rs:490
↓ 3 callers
Function
publish_diagnostics_for_document
( snapshot: &DocumentSnapshot, client: &Client, )
crates/fortitude_server/src/server/api/diagnostics.rs:13
↓ 3 callers
Function
relativize_path
Convert an absolute path to be relative to the current working directory.
crates/fortitude_linter/src/fs.rs:282
↓ 3 callers
Function
remove_from_comma_sep_stmt
( item: &Node, stmt: &Node, children: &[impl TextRanged], src: &SourceFile, )
crates/fortitude_linter/src/fix/edits.rs:47
↓ 3 callers
Method
run
(mut self)
crates/fortitude_server/src/server.rs:119
↓ 3 callers
Method
set_preview
(&mut self, preview: bool)
crates/fortitude_server/src/session/options.rs:57
↓ 3 callers
Method
settings_for_url
(&self, url: &Url)
crates/fortitude_server/src/session/index.rs:309
↓ 3 callers
Method
show_message
Shows a message to the user. This opens a pop up in VS Code showing `message`.
crates/fortitude_server/src/session/client.rs:188
↓ 3 callers
Method
spawn
(self, f: F)
crates/fortitude_server/src/server/schedule/thread.rs:62
↓ 3 callers
Method
text
(&self)
crates/fortitude_linter/src/ast.rs:467
↓ 3 callers
Method
to_index
(&self)
crates/fortitude_linter/src/locator.rs:49
↓ 3 callers
Method
to_settings_arc
Lazily resolves the client options to the settings.
crates/fortitude_server/src/session/settings.rs:56
← previous
next →
101–200 of 1,280, ranked by callers