Jump to content

Mangling pasted content.


wmbaum

Recommended Posts

Posted

Evernote used to be a great way to store code snippets, but it has starting mangling the content in a way that makes it unusable.  I would frequently paste in chunks of sql, bash, javascript or whatever from terminals, IDE's, blog posts, etc.. I liked that it was able to preserve the fonts and colors from some IDE's.

 

A few versions ago, it started altering the content of material pasted in from the clipboard, rendering it unusable.  Paste in sql or javascript and you'll get spaces added after all the periods, rendering the code useless.

 

Evernote, if you want to add some options for auto-correct while typing, fine, but make them options that can be turned off.  Altering the content of material pasted in from the clipboard is a BUG. It should NEVER do that. 

 

For the time being, pasting as plain text avoids the mangling of the content, but loses the formatting, which in this case was desirable. 

 

The regular Paste already did WAY too much, but this is a show-stopper.

Posted

Actually it's worse than I thought.  The plain text paste is now losing the indentation.

 

Pasting:

ALTER VIEW dbo.v_blahblahASSELECT	,row_count=SUM(ps.row_count)	,ident=IDENT_CURRENT(DB_NAME()+'.'+SCHEMA_NAME(t.schema_id)+'.'+t.name)FROM	--[blah]	JOIN sys.tables AS t ON t.name=g.name	JOIN sys.dm_db_partition_stats AS ps ON ps.object_id = t.object_id AND ps.index_id<2GROUP BY t.schema_id,t.name,t.object_id

yields

 

ALTER VIEW dbo .v_blahblah
AS
SELECT
        , row_count= SUM (ps . row_count)
        , ident= IDENT_CURRENT (DB_NAME ()+ '.'+ SCHEMA_NAME (t . schema_id)+ '.' +t . name)
FROM
        --[blah]
        JOIN sys . tables AS t ON t .name = g. name
        JOIN sys . dm_db_partition_stats AS ps ON ps .object_id = t . object_id AND ps. index_id< 2
GROUP BY t .schema_id , t. name ,t . object_id
 
which is useless and broken. 
 
pasting as plain text yields:
 
ALTER VIEW dbo.v_blahblahASSELECT,row_count=SUM(ps.row_count),ident=IDENT_CURRENT(DB_NAME()+'.'+SCHEMA_NAME(t.schema_id)+'.'+t.name)FROM--[blah]JOIN sys.tables AS t ON t.name=g.nameJOIN sys.dm_db_partition_stats AS ps ON ps.object_id = t.object_id AND ps.index_id<2GROUP BY t.schema_id,t.name,t.object_id

As I'm writing this I'm wondering why the forum editor (CKEditor) is better than the editor in Evernote. 

 

You've dumbed it down so much and added so much "helpfulness" that it's become useless. 

 

Where do I store my snippets now?

  • Level 5*
Posted

This started happening for me in the latest 5.6.0 Mac version. Bullet lists are removed when pasting into a text file.  :(

 

Jacob, since this is a WINDOWS thread, you may want to post your issue in the Evernote for Mac 5.6 thread.

  • 6 months later...
Posted

I too used EverNote to store my SQL queries. 

And I too have found that since the latest version, its all messed up. 

And the invisible characters in the spaces forces me to retype all my work. 

  • 2 months later...
Posted

+1

 

This is so annoying and basically excludes Everynote from usage by an engineer / IT guy.

 

I'm starting looking for a replacement.

  • Level 5*
Posted

I know this is a Windows thread, but for any Mac users that come along:

 

Mac Users:  You might consider Quiver as an alternative to Evernote for a "Programmer's Notebook"

 

Quiver is a notebook built for programmers.

  • It lets you easily mix text, code and Markdown within one note,
  • edit code with an awesome code editor,
  • live preview Markdown and LaTeX cells, and
  • find any note instantly via the full-text search.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...