Commit Graph

486 Commits

Author SHA1 Message Date
Hedrauta 7f3f5c7648 commitCrime will return milliseconds 😉 2021-12-22 02:00:22 +01:00
Andrew Cooper f2bdf00aba Closing the final script in your editor will take you to the terminal. 2021-12-22 00:26:01 +00:00
Olivier Gagnon b2b682fa04 fix editor not loading files 2021-12-21 13:44:18 -05:00
Olivier Gagnon 41593e0dce fix editor not loading 2021-12-21 12:02:06 -05:00
hydroflame 79eb2f7e0b Merge pull request #2092 from theit8514/script-focus-v2
Add focus parameter to workForCompany/workForFaction
2021-12-21 11:02:26 -05:00
hydroflame c1c7131545 Merge branch 'dev' into feat/open-multiple-files-from-cli 2021-12-21 11:02:06 -05:00
hydroflame 81e3f2afd1 Merge pull request #1986 from billyvg/feat/add-vim-command
feat: add `vim` terminal command
2021-12-21 11:00:33 -05:00
hydroflame 26106fa71d Merge pull request #2077 from MartinFournier/feature/get-theme
Add ns.ui.getTheme() api function
2021-12-21 10:57:58 -05:00
hydroflame 4be5e45740 Merge pull request #2073 from billyvg/fix/window-resizing
fix: Update editor height when resizing window
2021-12-21 10:56:51 -05:00
hydroflame 7a9e8936ee Merge pull request #2083 from 65-7a/txt-file-editor-patch
Script editor fixes for .txt files
2021-12-21 10:49:08 -05:00
theit8514 d873f7279b Add focus parameter to workForCompany/workForFaction
Defaults to true to keep previous behavior.
2021-12-21 08:13:18 -05:00
Dan 8ccb128e6f docs(ns.getPlayer): update doc to have ram cost
Resolves danielyxie/bitburner#2084
2021-12-21 01:44:32 +00:00
65-7a a6aebd4a29 Change model to plaintext for txt files 2021-12-21 10:35:03 +11:00
65-7a 56e540802b Disable RAM calculation for txt files 2021-12-21 10:21:22 +11:00
Billy Vong bb2f8e883c feat: Support opening multiple files from command line 2021-12-20 16:55:17 -05:00
Billy Vong d30edc7f59 feat: Add vim terminal command 2021-12-20 16:20:50 -05:00
Olivier Gagnon b57ac45698 doc 2021-12-20 15:59:46 -05:00
Olivier Gagnon 41a7109baa fix 2021-12-20 15:48:26 -05:00
Martin Fournier 65d0877edc Add ns.ui.getTheme() api function 2021-12-20 14:37:10 -05:00
Billy Vong 63891351be remove TODO 2021-12-20 14:05:59 -05:00
Billy Vong 60749eefa7 remove console + format 2021-12-20 14:05:22 -05:00
Billy Vong ee177393fa fix: Update editor height when resizing window 2021-12-20 14:04:42 -05:00
Olivier Gagnon 5dc9ac040a toast time config 2021-12-20 13:29:04 -05:00
Billy Vong 3fd904ff87 format 2021-12-20 10:48:32 -05:00
Billy Vong 6641ca9c73 fix ts 2021-12-20 10:45:44 -05:00
Billy Vong 517066a710 fix missed conflicts 2021-12-20 10:44:17 -05:00
Billy Vong d372166c8b Merge branch 'dev' into feat/add-vim-mode 2021-12-20 10:36:58 -05:00
Martin Fournier e60996b86c Focus editor when opening or changing tabs 2021-12-20 07:15:53 -05:00
Martin Fournier 08a4a1649f Linting ScriptEditor 2021-12-20 07:01:34 -05:00
BuildTools 302af48be4 Fixed merge conflict 2021-12-20 01:44:51 -06:00
BuildTools 6d90025370 Adapted PR #2055 to the refacted script editor code 2021-12-20 01:40:01 -06:00
BuildTools e5c4c8f64b Rebased
Added hostname to tab name
Removed -tas arg from the rm command
2021-12-20 01:40:01 -06:00
BuildTools cbfdfa5753 Removed testing log statements 2021-12-20 01:40:01 -06:00
BuildTools 3120d97cfa Update 2021-12-20 01:40:01 -06:00
BuildTools 6dc7dc42c5 resolved merge issue 2021-12-20 01:39:20 -06:00
Dan 6ec7fcb9fa refactor(keybinds): change editor save keybind S
We need to stop the event from bubbling up to the browser and opening a
'save html' window to keep support in the browser, other than that,
straight forward change to swap keybinding to 'S' for saving in the
editor.

Resolves danielyxie/bitburner#2053
2021-12-20 04:34:27 +00:00
hydroflame 82f6bbee13 Merge pull request #2046 from MartinFournier/fix/tests
Fix jest unit tests & add a github action workflow to build, test & lint
2021-12-19 22:35:25 -05:00
Jordan Turner f678574a6c made it more clear what nuke exe does 2021-12-19 13:47:34 -07:00
Martin Fournier 3b99da8474 Lint current problems & fix ignore paths 2021-12-19 13:17:44 -05:00
Olivier Gagnon 02605090df v1.2.0 2021-12-18 16:28:09 -05:00
hydroflame 853125009b Merge pull request #1977 from Rez855/feature/multi-tab-script-editor
Added the ability to open multiple script files at a time
2021-12-18 14:53:35 -05:00
hydroflame d5201885aa Merge pull request #1997 from pobiega/fix/nformat-return-type
ScriptEditor NetScriptDefinitions: nFormat should return string
2021-12-18 14:40:20 -05:00
BuildTools 59498f780a Small css tweaks 2021-12-18 07:11:59 -06:00
Robin Rexstedt 87d8f67df1 make nFormat return a string 2021-12-18 13:12:23 +01:00
BuildTools 2265f797c4 Added the ability to open multiple script files at a time
Fixed a bug where ram would stay the same when switching between scripts

Fixed bug where updating ram could cause the GUI to crash

The editor will now go to the last edited line when switching tabs.

Tidied up the script editor UI
2021-12-18 04:10:25 -06:00
Adraxas 069d76df25 Fix NS.exec signature 2021-12-17 18:40:00 -08:00
Billy Vong b3f9380ebd prettier 2021-12-17 12:56:48 -05:00
Billy Vong 6fb5565b08 remove unused code 2021-12-17 12:48:50 -05:00
Billy Vong fb5d374279 feat: Add vim mode to script editor
This adds an option to turn on vim mode using the `monaco-vim` library.
2021-12-17 12:34:00 -05:00
Martin Fournier 217b94d0a0 Fix #1863: Add getHashUpgrades hacknet function
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00