Profile

Cover photo
Danny Tuppeny
Works at New Mind Internet Consultancy
Attended Sutton High School, Ellesmere Port
Lives in Cheshire, England, UK
843 followers|868,522 views
AboutPostsPhotos

Stream

Danny Tuppeny

Shared publicly  - 
 
Dart Code v0.9.0 published; includes:

- Snippets!
- Warning if your SDK is old
- Improvements to completion/search
- Bug fixes

Please try it out and send feedback!

There's also a related gitter room: https://gitter.im/dart-code/Dart-Code
8
Adão Junior's profile photo
 
Nice, thank you!
Add a comment...

Danny Tuppeny

Shared publicly  - 
 
Dart Code 0.7 is out!

Includes:

- "pub get" and "pub upgrade" functionality
- a more comprehensive workspace symbol search
- document symbols/highlight
- some bug fixes

As always, feedback is very much appreciate!
3
Add a comment...

Danny Tuppeny

Shared publicly  - 
 
I've published my first Visual Studio Code extension! It adds Dart support to Visual Studio code. It's pre-v1 but I'm publishing it now (it has colours, syntax highlighting, search, formatting, tooltips, code completion) to get some feedback on what else is important for v1.

Try it out and let me know what you think! :)
Dart Code, Visual Studio Code Extension, marketplace.visualstudio.com
3
Mark Yuabov's profile photo
 
Congrats!
Add a comment...

Danny Tuppeny

Discussion  - 
 
How can I interop with existing JS objects?

I'm trying to write Dart code that will generate a rough equivalent of this:

var disposable = vscode['commands'].registerCommand(
'extension.sayHello',
function () {
vscode['window'].showInformationMessage('Hello World!');
}
);
context.subscriptions.push(disposable);

The variables vscode and context are both globals available in the JavaScript which is executing my Dart (which is being compiled to JS with the Dart Dev Compiler).

I'm happy for context/vscode to be completely untyped for now, but I'm struggling to bend the JS package to output code like this (eg. if I put @JS() on a stub vscode, I get dart.global.vscode which seems to be null).
2
Danny Tuppeny's profile photoMatan Lurey's profile photoLunix Watt's profile photo
4 comments
 
If ever debugging using dart2js, 3 rules of thumb:
1. Disable minification, always.
2. Enable source maps both in Chrome & in Dart.
3. Enable checked mode.

Normally, already a lot of errors would get clearer. Even Dart stdlib is in the source map.
Add a comment...

Danny Tuppeny

Shared publicly  - 
 
 
#Chromebook Chart has been updated with new data and a new column/filter for which Chromebooks can run Android Apps!

https://www.chromebookchart.com/
A comparison chart of Google Chromebooks, Chromeboxes, Chromebases and Chromebits listed with their specifications and country availability.
View original post
7
2
Add a comment...

Danny Tuppeny

Shared publicly  - 
 
I got my (C#) Chip-8 interpreter running in the browser using Bridge.NET!

The post includes a playable demo (works on Chrome and Edge, and even Chrome for Android!) :-)
2
Add a comment...
In his circles
308 people
Have him in circles
843 people
Phil Williams's profile photo
Jimber Jam's profile photo
Jay Sanford's profile photo
Marcin Gorycki's profile photo
David Hoff's profile photo
Phil Blything's profile photo
Emre Ahmet Uz's profile photo
120 Loop's profile photo
Priyanshu Khurana's profile photo

Danny Tuppeny

Shared publicly  - 
 
Version 0.8 of Dart Code has been published!

- Improved (Ctrl+T) search results display
- Press F5 to run command line apps
- Press Ctrl+Alt+O to sort/remove directives

plus some bug fixes.
6
Add a comment...

Danny Tuppeny

Shared publicly  - 
 
I've pushed an updated build of Dart Code with a bunch of improvements:

https://marketplace.visualstudio.com/items?itemName=DanTup.dart-code

A big thanks to +Devon Carew for a bunch of these contributions :-)

Changes:
.

- A new option dart.showTodos (default: true) has been added to show/hide TODO messages from the Problems list
- "Analyzing…" will now show in the status bar when files are being analyzed
- Go to Definition is now supported within your project (though does not yet work with SDK classes)
- The Dart SDK version number will now show in the bottom right status bar
- Dart files will automatically be set to 2-space indenting when you open them
- A new option dart.setIndentation (default: true) has been added to enable/disable automatic indent settings
- Symbol search is now case-insensitive and also supports better filtering (eg. "TA" will match "TwitterApi")
- Tooltips reading "undefined" will no longer appear for some items (eg. string literals)
- Tooltip formatting/display has been greatly improved
Dart Code, Visual Studio Code Extension, marketplace.visualstudio.com
3
Add a comment...

Danny Tuppeny

Announcements  - 
 
Hi all,

I've begun work on a VS Code (Win/Linux/Mac) extension for Dart (backed onto the same Analysis Server from the Dart Team that many other integrations and DartPad use). It's very early but since I don't really have any real world Dart projects to test it with (I'm hoping this will change with an editor I can get on with!) the testing has been somewhat limited.

If anyone would like to try it out and send feedback (GitHub issues, here, twitter, whatever...) it would be greatly appreciated!

Implemented so far:

- Syntax highlighting
- Code-completion
- Diagnostics (errors/warnings/hints)
- Workspace-wide symbol search
- Reformatting document
- Tooltips

You can download it from the link below (dart-code-0.1.0.vsix at the bottom). The next preview will go into the Code Marketplace, but since this is super-early I didn't want people installing it there and being annoyed if stuff is broken:

https://github.com/DanTup/Dart-Code/releases/tag/v0.1.0

That page also contains installation instructions and some other notes. Honestly, I don't know how well it will work for you but if you do try it out please let me know how you get on; the more feedback I can get the better :)
21
Robert Åkerblom-Andersson's profile photoJonathan Pugh's profile photoDanny Tuppeny's profile photo
7 comments
Add a comment...

Danny Tuppeny

Discussion  - 
 
I've been porting some C# code that posts tweets to Dart, but I'm struggling on encoding the characters correctly when generating the signature.

In C# I had to try a few different methods before I found the correct one, but in Dart none of those I can find encode correctly.

Any ideas? Dartpad link included in the SO question.
4
Lunix Watt's profile photoDanny Tuppeny's profile photo
8 comments
 
I sent a PR that extends the tests and (I believe) fixes this issue :)

https://github.com/dart-lang/convert/pull/4

+Natalie Weizenbaum 
Add a comment...

Danny Tuppeny

Shared publicly  - 
 
I recorded coding a simple HTML5 Canvas Pong game using Bridge.NET took just under 20mins. There's a link to the code on GitHub and a live demo you can tweak and re-run in your browser at the bottom.
1
Add a comment...
People
In his circles
308 people
Have him in circles
843 people
Phil Williams's profile photo
Jimber Jam's profile photo
Jay Sanford's profile photo
Marcin Gorycki's profile photo
David Hoff's profile photo
Phil Blything's profile photo
Emre Ahmet Uz's profile photo
120 Loop's profile photo
Priyanshu Khurana's profile photo
Work
Occupation
.NET Software Development Team Leader
Employment
  • New Mind Internet Consultancy
    Software Development Team Leader, 2011 - present
  • New Mind Internet Consultancy
    Senior .NET Software Developer, 2001 - 2004
  • Mavada
    Software Developer, 2004 - 2005
  • Link HR Systems
    Software Developer in QA, 2005 - 2006
  • Northgate Information Solutions
    Software Developer, 2006 - 2008
  • New Mind Internet Consultancy
    Senior .NET Software Developer, 2008 - 2011
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Cheshire, England, UK
Previously
Cheshire, England
Story
Tagline
.NET Software Development Team Leader
Education
  • Sutton High School, Ellesmere Port
    1994 - 2001
  • Overpool Junior School, Ellesmere Port
    1990 - 1994
  • Netherpool Infant School, Ellesmere Port
    1987 - 1990
Basic Information
Gender
Male
Other names
Daniel, Tuppo, Danny, DanTup