π
<-
Chat plein-écran
[^]

Ndless IDE for wsl

C, C++, ASM...

Ndless IDE for wsl

Message non lude Rankail » 25 Aoû 2021, 20:37

I'm installing the ndless sdk using wsl. Which IDE could i use? I had a experience where i corrupted some data of the wsl because i changed files with windows and not trough the linux console so i wanna make sure i'm getting it right.
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12

Re: Ndless IDE for wsl

Message non lude Ti64CLi++ » 25 Aoû 2021, 20:55

You could use vscode, which natively support wsl. Check this link : https://code.visualstudio.com/docs/remote/wsl-tutorial ;)
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Ndless IDE for wsl

Message non lude Rankail » 25 Aoû 2021, 21:10

I'll try it out once the toolchain is finished - which has been running for almost 2h now because my laptop isn't that fast - and the sdk is fully installed.
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12

Re: Ndless IDE for wsl

Message non lude SlyVTT » 26 Aoû 2021, 14:50

I would say there is no perfect answer when it comes to chose the right IDE. This is very often a matter of own preferences.

VSCode is good, and there are really lots of add-ins available, but the philosophy is a bit different than some can expect (meaning many things must be setup by user, many things are optimised for keyboard use rather than mouse, ...), so may users can be a bit "afraid" or at least "disturbed" when using it (and I need to confess I am one of those).

Code::Blocks is also good. And closer to usual IDE approach but with no integration of GIT or WSL, so this part must be setup manually by user. In my case, I have two Code::Blocks setup, one using the windows version and one using the linux version running on WSL with GUI support (I am using GWSL to correctly setup a X11 server on WSL as I was not able to correctly activate the GUI support on my WSL2). If needed you can have a look here https://www.microsoft.com/fr-fr/p/gwsl/9nl6kd1h33v3?activetab=pivot:overviewtab

BR

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43%
 
Messages: 482
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT

Re: Ndless IDE for wsl

Message non lude Rankail » 26 Aoû 2021, 18:31

I got vs code to running, compiled my first code, ran it in firebird and it worked.
Here is my new problem (not really a problem but it's really slow).
When i save my file in vsc i have to compile it. That's normal. But then i have to copy the file from a file explorer opened in wsl to a file-explorer opened in windows just to drag it into the firebird emulator. Is there some way to make this faster? Like automating the copying from wsl to windows? Maybe you could combine it with running make in the launch.json?
Avatar de l’utilisateur
Rankail
Niveau 4: MC (Membre Confirmé)
Niveau 4: MC (Membre Confirmé)
Prochain niv.: 64%
 
Messages: 21
Inscription: 09 Nov 2019, 18:33
Localisation: Germany, North Rhine-Westfalia
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: 12

Re: Ndless IDE for wsl

Message non lude Ti64CLi++ » 26 Aoû 2021, 18:45

You can access the wsl file system in Windows Explorer if you have a recent enough version. I don't know which one exactly, but you can check it out on the internet.
Otherwise you can always access the windows files system in wsl and save your projects under your C drive, mounted at /mnt/c ;)
Image
Avatar de l’utilisateur
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 32.3%
 
Messages: 3441
Images: 75
Inscription: 04 Juil 2014, 14:40
Localisation: Clermont-Ferrand 63
Genre: Homme
Calculatrice(s):
MyCalcs profile
Classe: ENS Rennes
GitHub: Ti64CLi

Re: Ndless IDE for wsl

Message non lude SlyVTT » 26 Aoû 2021, 18:51

Assuming you have Ubuntu as a WSL distribution, you can access your file also from an windows explorer by using the following path :

\\wsl$\Ubuntu

By default, your projects are certainly in a subdirectory of your home directory :

\\wsl$\Ubuntu\home\xxx

with xxx being your current username.

Hope it helps.

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43%
 
Messages: 482
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT


Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 8 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
2655 utilisateurs:
>2645 invités
>6 membres
>4 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)