Jan Jurzitza
606a25b38c
Merge pull request #151 from simark/tslint2
...
Some more tslint rules
2018-07-18 23:47:54 +02:00
Simon Marchi
bed8853f45
tslint: Enable typedef-whitespace
2018-07-18 11:26:32 -04:00
Simon Marchi
6e6899a231
tslint: Enable variable-name
2018-07-18 11:25:41 -04:00
Simon Marchi
7c76de4536
tslint: Enable whitespace
2018-07-18 11:23:30 -04:00
Simon Marchi
ec95d4a433
tslint: Enable one-line
...
I'm not sure what is your preference here, but I've seen both styles:
} else {
and
{
else {
I think it would be nice to have a consistent style, and the former is
more common.
2018-07-18 11:18:55 -04:00
Simon Marchi
9a942c5047
tslint: Enable eofline
2018-07-18 11:16:58 -04:00
Simon Marchi
dd24a05670
tslint: Enable whitespace
2018-07-18 11:16:22 -04:00
Simon Marchi
f6f071ccb8
tslint: Enable semicolon
...
Not really necessary, but it's nice if code is consistently formatted.
2018-07-18 11:14:39 -04:00
Simon Marchi
37570139e3
tslint: Enable indent
...
The project seems to use tabs, so we can enable the tslint rule for it.
2018-07-18 11:02:55 -04:00
Simon Marchi
186115cf7a
tslint: Enable prefer-for-of
...
This is not a big deal, but I think it makes the code a bit nicer.
2018-07-18 11:02:49 -04:00
Simon Marchi
e0ed9f71b8
tslint: Enable no-var-requires
...
Rationale from the rule's page:
AMD-style require([]) and CommonJS-style require("") statements are
environment-specific and more difficult to statically analyze.
ES2015-style imports are part of the JavaScript language specfication
and recommended as the path going forward. TypeScript will compile them
to environment-specific forms as needed.
2018-07-18 10:52:48 -04:00
Jan Jurzitza
57afc835fe
Merge pull request #150 from simark/tslint
...
Enable tslint with basic rules
2018-07-18 15:32:18 +02:00
Simon Marchi
b4d539258e
tslint: Extend tslint:recommended
...
Rather than take a whitelist approach to the rules, I think it would be
better to start with some goal (for example, the tslint:recommended set
of rules) and disable those that we don't follow. This way, it's easy
to see which ones we could potentially enable.
This doesn't mean that we have to follow all of them. If there are
rules that we don't want, we can move them to a "Rules from
tslint:recommended that we don't want" section.
2018-07-17 18:48:38 -04:00
Simon Marchi
d0dc094f4e
tslint: Enable no-null-keyword
...
I find this rule quite useful so that we use undefined all the time.
The rationale on the rule's documentation page is quite clear:
https://palantir.github.io/tslint/rules/no-null-keyword/
2018-07-17 18:48:05 -04:00
Simon Marchi
1244e4133c
Enable tslint with basic rules
...
Add tslint as a plugin to tsc, so that they will show up in vscode or
whatever editor people use. I only enabled two basic rules that I think
are very useful, prefer-const and no-var-keyword. Violations of these
rules were fixed with "tslint -p . --fix". There was one unused
variable (in the isExpandable) function that I removed by hand.
2018-07-17 18:19:37 -04:00
Jan Jurzitza
9b97ee8f39
Merge pull request #149 from Yanpas/values_fmt
...
add valuesFormatting by default
2018-07-05 14:37:13 +02:00
yanpas
67e0afac89
initialConfigurations valuesFormatting
2018-07-05 12:53:28 +03:00
Yan Pashkovsky
3580241216
add valuesFormatting by default
2018-07-04 18:21:44 +03:00
WebFreak001
628492ba6c
Bump to 0.22.0
2018-03-21 23:34:36 +01:00
Jan Jurzitza
cc3ad45cb8
Merge pull request #138 from rafmudaf/master
...
Add explicit fortran language Ids
2018-03-21 10:08:19 +01:00
Rafael M Mudafort
cd751cb8e9
include additional fortran language IDs in lldb
2018-03-20 18:10:01 -06:00
Rafael M Mudafort
3fc21e4e19
Add explicit fortran language ids
2018-03-20 13:52:03 -06:00
Jan Jurzitza
0ce3339be9
Merge pull request #136 from JelleRoets/master
...
add option to use ssh agent for authentication
2018-03-17 20:55:28 +01:00
Jelle Roets
16370ea112
add option to use ssh agent for authentication
2018-03-17 17:05:34 +01:00
Jan Jurzitza
bcbbda1eea
Merge pull request #129 from LeszekSwirski/multi-threading
...
Support multi-threading
2018-02-21 18:14:32 +01:00
Jan Jurzitza
8af4b28453
Return if miDebugger is not set in threadsRequest
...
Not sure why it only happens for this function but this fixes the error in the console.
2018-02-21 18:14:18 +01:00
Leszek Swirski
a7b89c3569
Fix crash in threadsRequest with no miDebugger, and undefined thread names
2018-02-21 16:35:39 +00:00
Jan Jurzitza
17fe66dd17
Merge pull request #130 from eamousing/master
...
Added break point support for fortran90
2018-02-12 21:23:38 +01:00
Erik Askov Mousing
e848017326
Added break point support for fortran90
2018-02-12 11:49:30 +01:00
Leszek Swirski
596674fb59
Add a test
2018-02-02 12:17:36 +00:00
Leszek Swirski
ab0a3bb4be
Support multi-threading
2018-02-02 12:17:33 +00:00
Jan Jurzitza
a7fd6a7369
Merge pull request #128 from Marus/master
...
Bug fixes from Cortex-Debug extension
2018-01-24 21:14:28 +01:00
Marcel Ball
d827275613
Fix an issue where an element of an array or struct changing will visually show the change on the containing array/struct.
...
- Getting the change list from GDB will get changes from members.
- Original code was mistakenly using the variable name from the outside object when looking up the handle to apply the changes instead of the variable name in the changelist.
2018-01-24 16:02:45 -04:00
Marcel Ball
cdee9d6420
Fix bug with MI Parsing if there is a list with empty strings
...
A JavaScript string is a falsy value - but an empty string is valid in these positions - so need to explicitly check for undefined instead of just falsy.
2018-01-24 16:00:04 -04:00
Marcel Ball
2219810715
Fix GDB expansion of structures/arrays containing floating point values.
2018-01-24 15:56:02 -04:00
Jan Jurzitza
248bb84599
Merge pull request #126 from gentoo90/fix-config
...
Fix "request" value of "Attach to PID" in config
2017-12-17 11:24:25 +01:00
gentoo90
21e1dcda63
Fix "request" value of "Attach to PID" in config
2017-12-17 10:06:04 +02:00
WebFreak001
d39cdc9633
Typescript fixes
2017-07-23 19:57:12 +02:00
WebFreak001
ef8245259a
Bump to 0.21.2 + icon fix & changelog update
2017-07-23 19:52:45 +02:00
WebFreak001
cdf72116bb
Bump to 0.21.1 ( fix #116 again)
2017-07-23 19:02:21 +02:00
WebFreak001
49dd1644f7
Merge branch 'master' of github.com:WebFreak001/code-debug
2017-07-23 19:01:27 +02:00
WebFreak001
6d4822f1e4
Bump to 0.21.0 ( fix #116 )
2017-07-23 19:01:08 +02:00
Jan Jurzitza
bb124c467c
Merge pull request #111 from faustinoaq/patch-1
...
enable breakpoints for crystal language
2017-06-16 11:39:10 +02:00
Faustino Aguilar
98f5b7153d
enable breakpoints for crystal language
2017-06-15 21:32:12 -05:00
Jan Jurzitza
f6d78aac5d
Merge pull request #109 from gentoo90/var-obj-fixes
...
Var obj fixes
2017-06-10 15:21:17 +02:00
gentoo90
90c7b76f78
Add "var_" prefix to var object names
...
The name of var object should begin with a letter, so names like "_id"
caused errors.
2017-06-10 15:08:31 +03:00
gentoo90
c313af85b2
Fix varListChildren() when there are no children
...
Return [] instead of throwing exception.
2017-06-10 15:01:21 +03:00
gentoo90
ca0f86a37c
Don't swallow errors on varUpdate()
...
Add MIError class for exceptions. Check error type on varUpdate() failure
and rethrow if it's not "Variable object not found".
2017-06-10 14:55:41 +03:00
WebFreak001
aa1ea10c73
Bump to 0.20.0
2017-05-26 23:33:34 +02:00
WebFreak001
7aec463e19
Merge branch 'master' of github.com:WebFreak001/code-debug
2017-05-26 23:21:49 +02:00