Ace.Tern
Ace.Tern copied to clipboard
disappearing tabs
Anyone experiencing disappearing tabs on chromeos?
how to reproduce
- open a work folder
- open some files
- do lots of alt-tabbing and toggle fullscreen on browsertabs etc
settings
{
// NOTE: If this file gets too big it will result in settings not working. Appears to be due to limitation of syncFS.js which uses chromes sync storage that has size limitations. Adding a lot of comments will make the file too big
//If you want to disable update checks at startup, change this
"promptForUpdates": true,
//This should be any of the supported Ace themes
"defaultTheme": "monokai",
//dark or light, your pick
"uiTheme": "dark",
//collapse the project view until you hover
"autoHideProject": false,
//hides menus/tabs in Chrome OS fullscreen mode
"immersiveFullscreen": false,
"highlightLine": true,
//set to true to hide the line numbering
"hideGutter": false,
//show whitespace characters (spaces, tabs, returns)
"showWhitespace": false,
//indentation size
"indentation": 4,
//will turn off Ace's setUseSoftTabs() option and use tab characters instead
"useTabs": false,
"wordWrap": false,
//Set to the number of characters you want or false for full window
"wrapLimit": false,
"showMargin": false,
//newline format - "windows", "unix", or "auto"
"lineEndings": "auto",
//allow the editor to scroll past the end of the document
"scrollPastEnd": true,
//run "Trim Trailing Whitespace" on save
"trimTrailingWhitespace": true,
//should the trim whitespace command also truncate empty lines?
"trimEmptyLines": false,
//only fixed-width fonts supported, for now
"fontFamily": "",
"fontSize": 16,
//Web workers are used for code hinting in PHP, JavaScript, and JSON. Currently no way to set worker options, but it can be disabled
"useWorker": true,
//autocomplete triggers on Ctrl-Space
"autocomplete": true,
//animated scrolling in the editor when using command pallette and tern
"animatedScroll": true,
//By default, the palette searches the current file's text only unless you widen the scope. If you'd like it to search all open files by default, set this option to true.
"searchAllFiles": true,
//set a regex to ignore in project view/search
"ignoreFiles": "node_modules",
//Crazy? You might like Vim keybindings.
"emulateVim": true,
//Whether to show the "New file" tab button on the tab bar;
"showNewTabButton": true,
//tern options
"tern": {
//http://ternjs.net/doc/manual.html#typedef
//avilable: browser, ecma5, jquery, underscore, ecma6
"defs": [
"browser",
"ecma5"
],
//http://ternjs.net/doc/manual.html#plugins
//NOTE: tern and node plugins do not appear to be working correctly, issue is likely w/ Caret-T/ChromeApp architecture (not tern or ace plugin). to debug this, open dev tools and go to chrome://inspect/#apps to see console for the sandbox that is running tern
"plugins": {
//http://ternjs.net/doc/manual.html#plugin_doc_comment
//TODO: when tern is upgraded to latest version, fullDocs wil have a different name
"doc_comment": {
"fullDocs": true
}
//http://ternjs.net/doc/manual.html#plugin_node
,"node": {
"dontLoad": false,
"load": "",
"modules": "",
"es_modules":""
}
/* [Uncomment to enable]
//http://ternjs.net/doc/manual.html#plugin_requirejs
,"requirejs": {
"baseURL": "",
"paths": "",
"override": ""
}*/
}
},
//js beautify options: http://jsbeautifier.org/
"beautify": {
"space_before_conditional": true,
"keep_array_indentation": false,
"preserve_newlines": true,
"jslint_happy": false,
"max_preserve_newlines": 3,
"break_chained_methods": false,
"indent_scripts": "normal",
//[collapse|expand|end-expand|none] (any of the former + ",preserve-inline")
"brace_style": "end-expand,preserve-inline",
"unescape_strings": false,
"wrap_line_length": 0,
"space_after_anon_function": false,
"max_char": 0
},
//custom js beautify setting: when true javascript will auto beautify when typing closing bracket
"autoBeautify": true
}
configuration
Google Chrome | 75.0.3770.19 (Official Build) dev (64-bit)
-- | --
Revision | a001f3b44e697dc5bdc61f99b7a11a3ff2c7764b-refs/branch-heads/3770@{#289}
Platform | 12105.25.0 (Official Build) dev-channel edgar
Firmware Version | Google_Edgar.7287.167.156
ARC | 5521597
JavaScript | V8 7.5.288.8
Flash | 32.0.0.171 /opt/google/chrome/pepper/libpepflashplayer.so
User Agent | Mozilla/5.0 (X11; CrOS x86_64 12105.25.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.19 Safari/537.36
Command Line | /opt/google/chrome/chrome --ppapi-flash-path=/opt/google/chrome/pepper/libpepflashplayer.so --ppapi-flash-version=32.0.0.171 --use-gl=egl --enable-native-gpu-memory-buffers --gpu-sandbox-failures-fatal=yes --enable-logging --log-level=1 --use-cras --enable-wayland-server --user-data-dir=/home/chronos --enable-features=MachineLearningService,ChromeOSAssistant,MyFilesVolume,Crostini,ExperimentalCrostiniUI --system-developer-mode --login-profile=user --has-chromeos-keyboard --guest-wallpaper-large=/usr/share/chromeos-assets/wallpaper/guest_large.jpg --guest-wallpaper-small=/usr/share/chromeos-assets/wallpaper/guest_small.jpg --child-wallpaper-large=/usr/share/chromeos-assets/wallpaper/child_large.jpg --child-wallpaper-small=/usr/share/chromeos-assets/wallpaper/child_small.jpg --default-wallpaper-large=/usr/share/chromeos-assets/wallpaper/oem_large.jpg --default-wallpaper-small=/usr/share/chromeos-assets/wallpaper/oem_small.jpg --default-wallpaper-is-oem --enable-consumer-kiosk --arc-availability=officially-supported --enterprise-enrollment-initial-modulus=15 --enterprise-enrollment-modulus-limit=19 --login-manager --policy-switches-begin --allow-insecure-localhost --show-android-files-in-files-app --disable-touch-adjustment --disable-webrtc-hw-decoding --disable-webrtc-hw-encoding --enable-devtools-experiments --enable-experimental-accessibility-features --enable-webvr --extensions-on-chrome-urls --force-color-profile=srgb --enable-smooth-scrolling --enable-features=ArcUsbHost --policy-switches-end --first-exec-after-boot --vmodule=*/chrome/browser/chromeos/account_manager/*=1,*/chromeos/components/account_manager/*=1,*arc/*=1,*/chromeos/power/auto_screen_brightness/*=1,*/forced_extensions/installation_tracker*=2,extension_downloader=2,*/feedback_uploader*=1,*/feedback_private/*=1,existing_user_controller=2,*/ash/wm/tablet_mode/*=1,auto_enrollment_controller=1,*/ui/ozone/*=1,*/ui/display/manager/chromeos/*=1,update_engine=1,component_updater_service=1 --enable-features=MachineLearningService,ChromeOSAssistant,MyFilesVolume,Crostini,ExperimentalCrostiniUI,ArcUsbHost --ui-compositor-memory-limit-when-visible-mb=512
Executable Path | /opt/google/chrome/chrome
Profile Path | /home/chronos/u-70cf8176ad625e2bec209034afca483920ef7a1d
Variations | 411b6d4e-f23d1dead44d41a5-3f4a17dfd01ab0d3-f23d1dea16e0dd70-3f4a17df414bf2d2-3f4a17df4ca682fe-3f4a17df551157b-f23d1dea2b6ab552-ba76ef24f88a4127-43c52a3b4b8c3f4-3f4a17df273268f8-ca7d8d801800d8bb-f23d1deada89714-4ad605758f029c91-ca7d8d807903da77-1410f101a7bac95-638403954cbcf8ef-377be55aca05d627-3f4a17dffc165f4d-3f4a17df9894ab05-d51b7a9a7c1bc906-6790560bd442dfb7-ca7d8d8071ed337-3f4a17df7ecf6693-f23d1deaa582a1b8-ad75ce172a565533-e1fcc091e27776-3f4a17df5ea6761d-83573579db19c37b-3f4a17dfaacdc39d-3f4a17df98be3390-d93a062011ee74ba-f23d1dea6ab6f98e-377be55a116c6887-4d2fac876848cc95-3f4a17df55a3035a-f23d1deadac832a5-3f4a17df72ce1b9-eea257e963b8f618-f23d1deaddadc72f-1f8c597376d4cff8-ca7d8d8093731dca-8af915f8e111fcd-3d47f4f49b4c4257-7cbed95dc992f345-ca7d8d80165e16d1-3f4a17df9e5c75f1-5365a7e8c4491377-ca7d8d8020c6963f-3f4a17df2594bdf4-d1e74f0d29abe156-7e3a9e0d9504402-d0e5ea2a602b37d5-f23d1dead1cd70a5-3992e2c94ea303a6-ecbb250e3f2db1c3-ca7d8d802fa8b3e1-4f7edc428d1fbf5c-f23d1dea3bc51bc8-99a45b18227f980e-ed2f44d56f43818d-f23d1deae3981599-3d70a35fd56acdf-26bbc519c5a753db-14369ac458a025e3-36e97b2c3dba712-f2718d9f4750a89c-49d2b8f7b40d9a68-7bd8bd1226464629-3f4a17dfd840bbac-b69a2820fb57f531-870568c71fcbb124-8e73957ccbc5b603-420b8696d1466cda-983ee39a2f4e5b-377be55a494d8760-52325d433ac60855-486e2a9cf296190c-5c63917a4442aae2-a5822863ed1d377-e1cc0f1475f0f0a0-d7f6b13ce2b18481-6e597edee7e71889-e1cc0f14cc122d59-5419e7bddb7a7cd6-2cddb274a4f1de9f-377be55ab166a6f3-3f4a17df47a2af3f-d866d1e782ebe475-f23d1dea7e91b7bd-ca7d8d80