First time here? Check out the FAQ!

tomacorp's profile - activity

2022-10-01 07:43:24 -0500 received badge Famous Question (source)
2022-07-15 08:41:04 -0500 received badge Notable Question (source)
2022-06-27 08:05:21 -0500 marked best answer Can you please add Github Copilot integration?

This is a vote to support Github Copilot. Copilot is amazing, Wing IDE is amazing, so it should be a great match! Now that Copilot is released and I know the pricing is within reason, I plan to make it part of my development flow.

Right now I am using Copilot with Visual Studio Code on macOS, then cut-and-pasting the results into Wing Pro. It could be so much better! Let me know if you want a demo or need a tester.

2022-06-27 08:04:07 -0500 received badge Popular Question (source)
2022-06-25 00:05:11 -0500 commented answer Can you please add Github Copilot integration?

There is a neovim plugin for Github Copilot here: https://github.com/github/copilot.vim Maybe it could serve as an examp

2022-06-21 15:55:29 -0500 asked a question Can you please add Github Copilot integration?

Can you please add Github Copilot integration? This is a vote to support Github Copilot. Copilot is amazing, Wing IDE is

2020-01-15 08:16:08 -0500 received badge Famous Question (source)
2020-01-15 08:16:08 -0500 received badge Notable Question (source)
2019-12-25 18:47:20 -0500 received badge Self-Learner ( source )
2019-12-25 18:47:20 -0500 received badge Teacher ( source )
2019-12-25 03:11:33 -0500 received badge Autobiographer
2019-12-25 03:06:08 -0500 marked best answer CircuitPython workflow suggestions

Background: I am using CircuitPython, which is a fork of micropython. This version of Python runs on some microcontrollers, and is supported by AdaFruit. They also support the My Editor, which is another Python IDE. Instead, I use Wing Pro 7 for CircuitPython development.

The CircuitPython environment works by connecting the microcontroller over USB to the host, where Wing is running. The microcontroller shows up as a USB drive. I copy a file called code.py to this USB drive, and the microcontroller runs the program. It is also possible to open a terminal on the microcontroller. For example, I can run the command 'screen /dev/tty.usbmodem1421401' and this opens a terminal where I can access the REPL, or switch modes and get stdout from a running code.py.

What works so far: I can edit code.py with Wing, and I have configured the Build command to copy the file code.py to the microcontroller. This has the desired effect: the program runs on the microcontroller. I am able to remotely write microcontroller code in pure Python using WingIDE.

Improvement I am seeking: I get warnings 'Import not found' for all of the CircuitPython-specific modules. I would like to somehow tell Wing about these modules that are in the microcontroller's version of Python. The challenge is that this Python runs on a different architecture and some of the modules call compiled C code on the microcontroller. Is there a way to tell Wing about these modules?

2019-12-25 03:06:08 -0500 received badge Scholar ( source )
2019-12-25 03:05:47 -0500 answered a question CircuitPython workflow suggestions

The way to inform Wing about the modules is to use .pyi files, which are stub python files with class and function defin

2019-12-25 02:38:42 -0500 received badge Supporter ( source )
2019-12-25 02:38:09 -0500 received badge Popular Question (source)
2019-12-24 16:19:59 -0500 commented answer CircuitPython workflow suggestions

I can get a terminal on the microcontroller, but it is hard-coded to be either a python REPL or the running program. I a

2019-12-21 22:24:25 -0500 received badge Student (source)
2019-12-21 20:49:39 -0500 asked a question CircuitPython workflow suggestions

CircuitPython workflow suggestions Background: I am using CircuitPython, which is a fork of micropython. This version of