MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / Settings

Class Settings

src/lib/settings.js:24–475  ·  view source on GitHub ↗

* @typedef {object} searchAndFindSettings * @property {boolean} wrap * @property {boolean} caseSensitive * @property {boolean} regExp

Source from the content-addressed store, hash-verified

22 */
23
24class Settings {
25 #customTheme = new ThemeBuilder("Custom").toJSON();
26 #defaultSettings;
27 #oldSettings;
28 #initialized = false;
29 #uiZoomBaseFontSize = {
30 root: null,
31 body: null,
32 };
33 #on = {
34 update: [],
35 "update:after": [],
36 reset: [],
37 };
38 #searchSettings = {
39 caseSensitive: false,
40 regExp: false,
41 wholeWord: false,
42 };
43 #fileBrowserSettings = {
44 showHiddenFiles: false,
45 sortByName: true,
46 listFiles: true,
47 };
48 #excludeFolders = [
49 "**/node_modules/**",
50 "**/bower_components/**",
51 "**/jspm_packages/**",
52 "**/.npm/**",
53 "**/flow-typed/**",
54 "**/vendor/**",
55 "**/composer/**",
56 "**/venv/**",
57 "**/.virtualenv/**",
58 "**/__pycache__/**",
59 "**/.pytest_cache/**",
60 "**/.eggs/**",
61 "**/*.egg-info/**",
62 "**/.git/**",
63 "**/.svn/**",
64 "**/.hg/**",
65 "**/.vscode/**",
66 "**/.idea/**",
67 "**/.vs/**",
68 "**/.project/**",
69 "**/.settings/**",
70 "**/.classpath/**",
71 "**/dist/**",
72 "**/build/**",
73 "**/out/**",
74 "**/target/**",
75 "**/bin/**",
76 "**/obj/**",
77 "**/coverage/**",
78 "**/.nyc_output/**",
79 "**/htmlcov/**",
80 "**/temp/**",
81 "**/tmp/**",

Callers 1

QuickToolsSettingsFunction · 0.85

Calls 1

toJSONMethod · 0.45

Tested by

no test coverage detected