r/ComputerCraft • • May 15 '24
Pastebin just pasting html code?
Can anybody help me? I am writing some Turtle code and thought it would be quicker to use vs. and pastbin the code into the turtle. However, when i try to paste the code into the turtle, it just pastes the html and not the code. I checked the config files, and the http enable is set to true, and the http whitelist is set to all (*)
8
Upvotes
8
u/popcornman209 May 15 '24
Btw there’s a really cool program called “craft os pc” (or something similar) for vscode where you can “ssh” into the turtle from vsc, and even remote edit the files, it’s amazing.
2
u/SWATMJ- May 15 '24
Which game version and Mod Version are you running?
1
u/NortWind May 15 '24
In VS Code, save your work, go to the "Selection" menu and use "Select All". Then copy all with cntrl-C or "Edit" menu copy.
In Pastebin, select "edit" from the top line menu. Wait for it to load up, and then right-click menu choose "Select All".
Then paste with cntrl-V. Then "Save Changes" button at the bottom of the PasteBin Page.
I like to put the Pastebin code for the page in a comment at the top of the code, so I can copy it easily to load into the turtle.
3
u/SadieWopen May 16 '24
Did you know if you are playing locally you can just code the files directly? They are in your Minecraft instance folder. You can point vs code straight at the directory and edit the files without having to mess around with pastebin