Hi,
I would like to see colored syntax and use autocomplete features even for CSS included into html code; I mean in the head of the pages where the scope seems to be: "source.css.embedded.html":
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it-IT" lang="it-IT"> <head profile="http://www.w3.org/2005/10/profile"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Page Title</title> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta http-equiv="Content-Language" content="it-IT" /> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> <style type="text/css" media="screen"> /* Textmate does not see this as CSS code */ p { margin-bottom: 1em; } </style> </head> <body>
Actually I need to manually type each css instruction because textmate does not detect such part of code to be CSS.
Is there any workaround?
thanks!
-- Ciao
Fabio
-- Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor: VOGLIA DI VACANZE ? * A Riccione i Riviera Park Hotels sono gli alberghi specializzati per le vacanze nei parchi divertimento.Vieni nei Riviera Park Hotels! Ti aspettano sconti per tutti i parchi della Romagna! Prenota subito on-line la tua vacanza! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid%10820&d=5-8
On Aug 5, 2010, at 10:45 AM, Fabio wrote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it-IT" lang="it-IT"> <head profile="http://www.w3.org/2005/10/profile"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Page Title</title> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta http-equiv="Content-Language" content="it-IT" /> <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> <style type="text/css" media="screen"> /* Textmate does not see this as CSS code */ p { margin-bottom: 1em; } </style> </head> <body>
Hi, hmm for me it works. If I locate the cursor after "1em; ", type b and press ESC I can see the autocompletion stuff.
What happens if your cursor is inside the css stuff and you press CTRL+ESC? Does the CSS bundle pop up? If not, is the CSS bundle available? Is the document set to HTML?
Cheers, --Hans