Don't you then have to maintain a copy of all the dependencies and input data on your personal laptop? I can't imagine myself being productive this way, even for small standalone projects where cloning everything to the personal laptop is feasible. This sounds awful and the company IDE must be even worse somehow.
If the company IDE is annoying to use, then rewriting it is probably a net time saver. The time consuming part of coding is rarely typing the code, afterall.
Reminds me of a project many years ago where I was forced to use a companies crappy home-grown CMS that deployed all their microsites, they had a weird code editor that they expected you to develop in inside the CMS. I wrote a selenium script that would login and upload the contents of my local files into the editor.
This is a sentiment that is very typical among Singaporeans. I suspect it has something to do with the political/business climate over there.
While the USA is also litigation happy, it actually takes an incredibly high amount of deliberate destruction for an employer to succeed in suing an employee.